1.Functional Description
1.1Purpose
Calculates the following quantities for a component in the Bill of Material:
Required Quantity in Primary UOM
Extended Quantity
Extended Quantity adjusted for scrap and yield
Extended Quantity in Primary UOM
Conversion factor used to convert the component to Primary UOM
Conversion factor used to convert the component from Primary UOM
1.2Setup Notes and Prerequisites
Convert Batch Quantity from Primary to display UOM
Retrieve Standard potency and Potency Control (OT1y) from F4102.
1.3Special Logic
Calculate Scrap = '1':
CalcRequiredQtyPrimary will be adjusted for scrap
CalcExtendedQtyPrimary will be adjusted for scrap
Calculate Yield = '1':
CalcRequriedQtyPrimary will be adjusted for yield
CalcExtendedQtyPrimary will be adjusted for yield
Calculate Primary Quanitites = '1':
CFComponenttoPrimary will be calculated
CalcRequiredQtyPrimary will be calculated
CalcExtendedQtyPrimary will be calculated
2.Technical Specifications
2.4Processing
1.0. If CalculatingPrimaryQuantities, determine Conversion factor for component conversion from
Primary to Production UOM. (DS CFComponentToPrimary, DS CFPrimaryToComponent).
F3002 ComponentBranch>szBranchPlant
DS ComponentPrimaryUOM>szFromUnitOfMeasure
DS RequiredQtyUOM>szToUnitOfMeasure
1>mnQuantityToConvert
UNDEFINED>mnConversionFactorFromToPrim
DS CFPrimaryToComponent<mnConversionFactorFrom_to_To
DS CFComponentToPrimary<mnConversionFactorTo_to_Primary
DS Potency Control>cPotencyControl
DS StandardPotency>mnStandardPotency
DS Component Item>mnItemNumberShort
2.0.If CalculatingPrimaryQuantities, Convert Required Quantity to primary UOM. (DS
CalcRequiredQtyPrimary)
DS CalcRequiredQtyPrimary = DS ActualRequiredQty * DS CFComponentToPrimary
DS ActualExtendedQty = DS ActualRequiredQty * DS RequestedQty.
If (F3002 FORQ = 'F') or (F3002 FORQ = '%' and F3002 BQTY != 0),
DS ActualExtendedQty = DS ActualRequiredQty
5.0.If CalculatingPrimaryQuantities, determine the Calculated Required Quantity Primary and
Calculated Extended Quantity Primary.
DS CalcExtendedQtyPrimary = DS CalcRequiredQtyPrimary * DS RequestedQty.
If (DS FORQ = 'F') or (DS FORQ = '%' and DS BQTY != 0),
DS CalcExtendedQtyPrimary = DS CalcRequiredQtyPrimary
CalcExtendedQtyPrimary)
adjust for yield.
DS CalcExtendedQtyPrimary * (DS YieldPercent / 100)
production quantity required.
business function and round the following fields to the correct number of display decimals:
DS CalcExtendedQty
DS CalcExtendedQtyPrimary
^
D3003110 - F3002 Calculate Quantities
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cCalculateScrap | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cCalculateYield | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
mnBatchQty | BQTY | MATH_NUMERIC | NONE | NONE |
The quantity of finished units that you expect this bill of material or routing to produce. You can specify varying quantities of components
| ||||
mnRequestedQty | RQTE1 | MATH_NUMERIC | NONE | NONE |
The number of parent items that you want to process. The system calculates lower level values in quantity per the number of parent items
| ||||
mnActualRequiredQty | QNTY | MATH_NUMERIC | NONE | NONE |
The number of units that the system applies to the transaction. | ||||
szRequiredQtyUOM | UM | char | NONE | NONE |
A user defined code (00/UM) that identifies the unit of measurement for an amount or quantity. For example, it can represent a barrel, box,
| ||||
cFixedOrVariable | FORQ | char | NONE | NONE |
A code that indicates if the quantity per assembly for an item on the bill of material varies according to the quantity of the parent item
| ||||
mnYieldPercent | STPP | MATH_NUMERIC | NONE | NONE |
A value that the system uses to increase or decrease the amount of materials to account for loss within the operation. The system updates
| ||||
mnScrapPercent | SCRP | MATH_NUMERIC | NONE | NONE |
The percentage of unusable component material that is created during the manufacture of a particular parent item.
During DRP/MPS/MRP
| ||||
cPotencyControl | OT1Y | char | NONE | NONE |
A code that indicates whether you control the item by potency. | ||||
mnStandardPotency | STDP | MATH_NUMERIC | NONE | NONE |
The percentage of active ingredients normally found in an item. | ||||
mnActualExtendedQty | QNTY | MATH_NUMERIC | NONE | NONE |
The number of units that the system applies to the transaction. | ||||
mnCFPrimaryToComponent | MN29D9 | MATH_NUMERIC | NONE | NONE |
This is a generic field used as a work field in Everest. | ||||
mnCFComponentToPrimary | MN29D9 | MATH_NUMERIC | NONE | NONE |
This is a generic field used as a work field in Everest. | ||||
mnCalcRequiredQtyPrimary | QNTY | MATH_NUMERIC | NONE | NONE |
The number of units that the system applies to the transaction. | ||||
mnCalcExtendedQtyPrimary | QNTY | MATH_NUMERIC | NONE | NONE |
The number of units that the system applies to the transaction. | ||||
szComponentBranch | CMCU | char | NONE | NONE |
A secondary or lower-level business unit. The system uses the value that you enter to indicate that a branch or plant contains several
| ||||
mnComponentItem | ITM | MATH_NUMERIC | NONE | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
szPrimaryUOM | UOM | char | NONE | NONE |
A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box). | ||||
mnCalcExtendedQty | QNTY | MATH_NUMERIC | OPT | OUTPUT |
The number of units that the system applies to the transaction. | ||||
cCalculatePrimaryQuantities | EV01 | char | OPT | INPUT |
An option that specifies the type of processing for an event. |
None |
None |