1.Functional Description
1.1Purpose
This BF retrieves the next vertical structure for the Bill of Material explosion process, stores it
in a link list, and returns it to the calling application through a GENLNG.
1.2Setup Notes and Prerequisites
This BF is part of the On-Line BOM Explosion process. The On-Line BOM Explosion process includes
standard ER for BOM explosion and additional Business Functions that have been created for On-line Bill
of Material Explosion.
After level 1 is written to the grid, call this BF passing the values from the first level..
After the BOM has been completely exploded, call BF DestroyLinkList after BOM has been exploded.
1.3Special Logic
This section should be used when additional logic is used in the Business Function for application
specific functionality or exceptional situations.
2.Technical Specifications
2.4Processing
1.0. If the pointer to the link list is equal to NULL, add first node to link list.
1.2. Assign DS Level = 0.
1.2. Add a node in the link list where the following values are saved:
Parent Item= DS Parent Item
Type of Bill= DS Type of Bill
Batch Qty= DS Batch Qty
Batch Qty UOM= DS Batch Qty UOM
Level= DS Level
Component Branch= DS Component Branch
Component Item = DS Component Item
Quantity Required= DS Quantity Required
Unit Of Measure= DS Unit of Measure
Operation Sequence = DS Operation Sequence
Line Number= DS Line Number
Effective From= DS Effective From
Hrequet= Hrequest Used to Retreive the Record
1.0. If the pointer to the link list is not equal to null, retrieve the values of the last link list
node.
Else if it is Null them Create it, fetch the first node using data sent in
ITM = Parent Item(KIT).
add that node and send back the data (see 2.2) and exit.
2.0. Add the next level to the link list.
found, or SBNT <> 0. (LOOP)
Table
where CMCU = DS Parent Branch (MMCU), ITM= Parent Item(KIT).
must be greater than or equal to the F3002 Effective From date and less than or equal to the
F3002 Effective Thru Date. If the DS As of Date is not within the date effectivity range, read
next BOM record. From or Thru Grade and From or Thru Potency Must be in range.
LL Parent Item- F3002 KIT
LL Type of Bill- F3002 TBM
LL Batch Qty- F3002 BQTY
LL Batch Qty UOM- F3002 UOM
LL Level- DS Level
LL Component Branch- F3002 CMCU
LL Component Item - F3002 ITM
LL Quantity Required- F3002 QNTY
LL Unit Of Measure- F3002 UM
LL Operation Sequence- F3002 OPSQ
LL Line No- F3002 CPNT
LL Effective From- F3002 EFFF
F3002 pointer = pointer to F3002 record.
DS Parent Item= F3002 KIT
DS Type of Bill= F3002 TBM
DS Batch Qty= F3002 BQTY
DS Batch Qty UOM= F3002 UOM
DS Component Branch= F3002 CMCU
DS Component Item= F3002 ITM
DS Unit of Measure= F3002 UM
DS Operation Sequence= F3002 OPSQ
DS Effective From= F3002 EFFF
DS Effective From= F3002 EFFF
assign DS Record Found = '0'.
3.0. Destroy link list or build new link list
3.1.If calling this function not for the first time, delete link list nodes from the end of link
list if no other vertical structure can be found at the node, and if all nodes are deleted, then
destroy the link list.
3.2. If other vertical structure is found at the node, change the parent information in the
current node, and then create another link list based on the modified node. And when calling this function
next time, repeat step 3.0.
This Function will return all the information saved in the Linked List one node at a time
D300089A - Get Child Parent Vertical
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
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
| ||||
szParent2ndItemNumber | KITL | char | NONE | NONE |
The system provides for three separate item numbers.
1. Item Number (short) - An eight-digit, computer assigned, completely
| ||||
szParent3rdItemNumber | KITA | char | NONE | NONE |
The system provides three separate item numbers:
1. Item Number (short) - An eight-digit, computer assigned, completely non-significant
| ||||
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.
| ||||
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
| ||||
szBatchQuantityUOM | 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). | ||||
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
| ||||
mnComponentItemNumber | 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
| ||||
mnQuantityRequired | QTY | MATH_NUMERIC | NONE | NONE |
The number of units associated with an asset. | ||||
szUnitOfMeasure | 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,
| ||||
mnOperationsSequenceNo | 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
| ||||
jdEffectiveFrom | EFFF | JDEDATE | NONE | NONE |
A date that indicates one of the following:
o When a component part goes into effect on a bill of material
o When a routing step goes into
| ||||
jdEffectiveThru | EFFT | JDEDATE | NONE | NONE |
A date that indicates one of the following:
o When a component part is no longer in effect on a bill of material
o When a routing step is no
| ||||
cCoProductsByProducts | COBY | char | NONE | NONE |
A code that distinguishes standard components or ingredients from co-products,by-products, and intermediates. Co-products are
| ||||
cFixedOrVariableQty | 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
| ||||
szLevel | INDL | char | NONE | NONE |
A number indicating the level of a child in the relationship to its parent in a hierarchy. | ||||
cPass | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
jdAsOfDate | DATE01 | JDEDATE | NONE | NONE |
Event point for JDE Date. | ||||
cEndOfRecords | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cSuppressErrors | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szErrorMessageID | DTAI | char | NONE | 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
| ||||
idBOMLinkedList | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
idHUSER | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
nLevelAsInteger | INT02 | integer | NONE | NONE |
Number of Days in the Past to Query for Quote Requests Received. | ||||
cIndentLevel | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cEndOfBillOfMaterial | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
mnFromPotency | FRMP | MATH_NUMERIC | NONE | NONE |
A number that indicates the minimum potency or percentage of active ingredients acceptable for an item.
The system displays a warning
| ||||
mnThruPotency | THRP | MATH_NUMERIC | NONE | NONE |
A number that indicates the maximum potency or percentage of active ingredients that is acceptable for an item.
The system displays a
| ||||
szFromGrade | FRGD | char | NONE | NONE |
A user defined code (40/LG) that indicates the minimum grade that is acceptable for an item.
The system displays a warning message if
| ||||
szThruGrade | THGD | char | NONE | NONE |
A user defined code (40/LG) that indicates the maximum grade that is acceptable for an item.
The system displays a warning message if
| ||||
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 |