1.Functional Description
1.1Purpose
This function is selecting records from F3002 that match the COBY, MMCU, KIT, TBM, BQTY, and CPNT
(indexCoByProduct, PBranch, +B) being passed in. The function is then retrieving the Substitute Sequence
number (SBNT) for the first record selected. The Substitute number is descending order, so it will
be selecting the highest number. This is being done in order to determine what the next Substitute
number should be to make the record unique.
1.2Setup Notes and Prerequisites
1.3Special Logic
2.Technical Specifications
2.4Processing
Select records from F3002 based on COBY, MMCU, KIT, TBM, BQTY, and CPNT.
Fetch from the first record selected the Substitute number (SBNT).
^
D3003190 - F3002GetLastSubSeqNoByCompLine
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
CoproductsByproducts | COBY | char | OPT | NONE |
A code that distinguishes standard components or ingredients from co-products,by-products, and intermediates. Co-products are
| ||||
CostCenterAlt | 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
| ||||
ItemNumberShortKit | KIT | MATH_NUMERIC | OPT | NONE |
The system provides for three separate item numbers.
1. Item Number (short) - An eight-digit, computer assigned, completely
| ||||
TypeBill | 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.
| ||||
UnitsBatchQuantity | 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
| ||||
SubstituteItemSequenceNu | 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
| ||||
ComponentNumber | 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 |