1._Functional Description
1.1Purpose
This function is selecting records from F3002 that match the MMCU, KIT, TBM, COBY and BQTY being
passed in. The function is then retrieving the component number (CPNT) for the first record selected.
The component number is descending order, so it will be selecting the highest number. This is being
done in order to determine what the next component number should be to make the record unique.
1.2Setup Notes and Prerequisites
None.
2.1Special Logic
None.
2._Technical Specifications
2.4Processing
Select records from F3002 based on MMCU, KIT, TBM, COBY and BQTY.
Fetch from the first record selected the component number (CPNT) or the substitute line number
(SBNT).
^
D3002060 - F3002 Get Last Line Number
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szCostCenterAlt | 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
| ||||
mnItemNumberShortKit | KIT | MATH_NUMERIC | NONE | NONE |
The system provides for three separate item numbers.
1. Item Number (short) - An eight-digit, computer assigned, completely
| ||||
szTypeBill | 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.
| ||||
cCoproductsByproducts | COBY | char | NONE | NONE |
A code that distinguishes standard components or ingredients from co-products,by-products, and intermediates. Co-products are
| ||||
mnUnitsBatchQuantity | 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
| ||||
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
| ||||
mnComponentNumber | 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 |