1.Functional Description
1.1Purpose
Check for Consumed Resources, Produced Resources, and/or Intermediate Operations that are associated
with an Operation using the Parent Branch, Parent Item, Batch Quantity, Type of Bill, and Operation
Sequence.
If an intermediate is found, the Item Number, Branch, Quantity Per, and Fixed/Variable Indicator are
returned.
If date effectivity checking is required, operation resources will be check against either the 'Date
to use for validating' or the system date to verify the effectivity date range.
1.2Setup Notes and Prerequisites
When checking for Consumed Resources, the Bill of Material Table is searched using CoByProduct,
Parent Branch, Parent Item, Batch Quantity, Type of Bill, and Operation Sequence (CoByProduct = blank).
When checking for Produced Resources, the Bill of Material Table is searched using CoByProduct,
Parent Item, Parent Branch, Type of Bill, Batch Quantity, and Unit Of Measure (CoByProduct = 'C' or 'B').
When checking for Intermediates, the Bill of Material Table is searched using CoByProduct, Parent
Branch, Parent Item, Batch Quantity, Type of Bill, and Operation Sequence (CoByProduct = 'I').
1.3Special Logic
2.Technical Specifications
2.4Processing
1.0. If Mode is not equal to '1', '2', or '3', default mode='0'.
1.0. If Mode is equal to '0' or '1', check for Ingredients at the Operation.
Bill, and Operation Sequence are equal to the values passed in the data structure and
Co-Products/By-Products/Intermediate (COBY) is equal to blanks.
(if no date is passed in, use todays date), F3002 Effective From, and F3002 Effective Thru. Return
code must indicate that the date is within the range for the bill of material record to be valid.
If the date is invalid 'N' will return in EV01.
1.3. If a valid row is found in the table, Ingredients exist for this operation. Assign value
'Cons' to CPBE1.
2.0. If Mode is equal to '0' or '2', check for Co-/By-Products at the Operation.
2.1. Search the Bill of Material Table (F3002) using the index CoByProduct, Item, +A where
COBY = 'B' or 'C'
ITM = Parent Item
CMCU = Branch
TBM = Type of Bill
QNTY = Transaction Qty
UM = UOM
OPSQ = Operation Sequence.
(if no date is passed in, use todays date), F3002 Effective From and F3002 Effective Thru. Return
code must indicate that the date is within the range for the bill of material record to be valid. If
the date is invalid 'N' will return in EV01.
2.3. If a valid row is found in the table, Co-/By-Products exist for this operation. If
Co-/By-Products exist and Ingredients exist, assign 'BOTH' to CPBE1. If Co-/By-Products exist but
Ingredients do not exits, assign 'PROD' to CPBE1.
2.4. If a valid row is not found in the table, do not change the value of CPBE1.
3.0. If Mode is equal to '0' or '3', check for Intermediates at the Operation.
Bill, and Operation Sequence are equal to the values passed in the data structure and
Co-Products/By-Products/Intermediate (COBY) is equal to 'I'.
(if no date is passed in, use todays date), F3002 Effective From and F3002 Effective Thru. Return
code must indicate that the date is within the range for the bill of material record to be valid. If
the date is invalid 'N' will return in EV01.
value of '1' to VC01A. Return the Item Number (ITM), Branch (CMCU), Quantity Per (QNTY), and
Fixed/Variable Indicator (FORQ).
3.3. If a valid row is not found in the table, Assign a value of '0' to VC01A.
D3000060 - CheckForOperationResources
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szUOM | 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,
| ||||
szConsumedProducedBoth | CPBE1 | char | NONE | NONE |
A code that indicates whether consumed resources, produced resources, or both are defined for the operation. Valid values are:
Blank
| ||||
szParentBranch | MMCU | char | NONE | 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
| ||||
mnParentItem | KIT | MATH_NUMERIC | NONE | NONE |
The system provides for three separate item numbers.
1. Item Number (short) - An eight-digit, computer assigned, completely
| ||||
mnBatchQuantity | 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
| ||||
mnOperationSequence | OPSQ | MATH_NUMERIC | NONE | NONE |
A number used to indicate an order of succession.
In routing instructions, a number that sequences the fabrication or assembly steps in the
| ||||
cIntermediates | VC01A | char | NONE | NONE |
This is a generic field used for video constants display. | ||||
mnItem | 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
| ||||
szTypeOfBill | TBM | char | NONE | 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.
| ||||
szBranch | 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
| ||||
mnQuantityPer | QNTY | MATH_NUMERIC | NONE | NONE |
The number of units that the system applies to the transaction. | ||||
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
| ||||
cValidateDateEffectivity | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
jdDateToValidate | ASDE1 | JDEDATE | NONE | NONE |
The date used for effectivity checking. Enter a specific date to display documents (orders, bills of material, routings, as applicable) that are
| ||||
cMode | MODE | char | NONE | NONE |
The processing mode used in Purchase Order Consolidator to signify when specific orders are being processed. |
B3000160 Convert Batch Quantity |
None |