1.Functional Description
1.1Purpose
This function validates that if the co-/by- product passed in as input exists for another batch
quantity on this process, the ratio of the batch quantity to the quantity per are the same on both
processes. Error message "3939" ("Invalid Co/By Product Ratio") is set if the co-/by- product exists multiple
times on the same process with different ratios.
1.2Setup Notes and Prerequisites
None.
1.3Special Logic
None.
2.Technical Specifications
2.4Processing
1. Calculate the ratio (new) of the Process batch quantity and Co/By output quantity (passed in as
input):
using the "Convert Batch Quantity" business function.
c)Round New Ratio to 9 decimals places.
2. Read the Bill of Material Master table (F3002) using Process Item (ITM), Process Branch (CMCU),
Co/By Item (KIT), and Co/By Branch (MMCU) passed in as input. Process each record retrieved:
'b7F3002 Substitute Item Seq No (SBNT) is the same as the Substitute Item Seq No (SBNT)
passed in as input AND
'b7F3002 Type Bill (TBM) is the same as the Type Bill (TBM) passed in as input AND
'b7F3002 Process Quantity (QNTY) is the same as the Process Quantity (QNTY) passed in as
input
quantity on the retrieved record
format) using the "Convert Batch Quantity" business function.
'b7Old Ratio = F3002 Process batch quantity (QNTY) / F3002 Co/By output quantity (BQTY)
'b7Round Old Ratio to 9 decimals places.
program.
D3003240 - Verify CoBy Ratio
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnProcessItem | ITM | MATH_NUMERIC | OPT | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
szProcessBranch | CMCU | char | OPT | 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
| ||||
mnCoByItem | KIT | MATH_NUMERIC | OPT | NONE |
The system provides for three separate item numbers.
1. Item Number (short) - An eight-digit, computer assigned, completely
| ||||
szCoByBranch | MMCU | char | OPT | NONE |
A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which
| ||||
szTypeBill | TBM | char | OPT | NONE |
A user defined code (40/TB) that designates the type of bill of material. You can define different types of bills of material for different uses.
| ||||
mnCoByOutputQty | BQTY | MATH_NUMERIC | OPT | NONE |
The quantity of finished units that you expect this bill of material or routing to produce. You can specify varying quantities of components
| ||||
szCoByOutputQtyUom | UOM | char | OPT | 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). | ||||
mnProcessQty | QNTY | MATH_NUMERIC | OPT | NONE |
The number of units that the system applies to the transaction. | ||||
szProcessQtyUM | UM | char | OPT | 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,
| ||||
cCoproductsByproducts | COBY | char | OPT | NONE |
A code that distinguishes standard components or ingredients from co-products,by-products, and intermediates. Co-products are
| ||||
mnSubstituteItemSequenceNu | SBNT | MATH_NUMERIC | OPT | NONE |
A number that indicates the sequence for the substitute items for a component.
The system looks for substitute items by this sequence
| ||||
cSuppressErrorMsgs | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
szErrorMsgId | DTAI | char | OPT | NONE |
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or
| ||||
mnComponentLineNumber | CPNB | MATH_NUMERIC | OPT | NONE |
A number that specifies how the system displays the sequence of components on a single-level bill of material. This number initially
|
None |
None |