1.Functional Description
1.1Purpose
The purpose of this function is to calculate the extended required qunatities for an exploded bill of
material. A mode will be used to determine if the quantity should be saved or retrieved. The level
parameter will be used to indicate to the function what level of the bill of material the explosion is
at.
1.2Setup Notes and Prerequisites
You must know the level of the bill of material that you are at before calling this funciton. The
way the function is designed will assume that when you are retrieving a quantity it is from the previous
level and you are using this quantity to calculate your current level's required quantity. When you
are calling this function to save a quantity, the function assumes that you have finished calculating
you level's required quantity and this is the level that you will be saving it at.
1.3Special Logic
The way the function is designed will assume that when you are retrieving a quantity it is from the
previous level and you are using this quantity to calculate your current level's required quantity.
When you are calling this function to save a quantity, the function assumes that you have finished
calculating you level's required quantity and this is the level that you will be saving it at.
2.Technical Specifications
2.4Processing
If Mode = 1
Save Quantity and the Level sent in, in the link list.
If mode =2
Retrieve the Quantity previous to the Level sent in from the link list.
Delete all of the nodes lower than the Level sent in.
If mode = 3
Destroy the link list.
^
D3001340 - Save And Retrieve Quantity
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnQuantity | QNTY | MATH_NUMERIC | NONE | NONE |
The number of units that the system applies to the transaction. | ||||
cMode | MODE | char | NONE | NONE |
The processing mode used in Purchase Order Consolidator to signify when specific orders are being processed. | ||||
nLevel | INT01 | integer | NONE | NONE |
Number of Days in Future to Query for Responses Due. | ||||
idPointerToLinkedList | GENLNG | ID | NONE | NONE |
General purpose ID variable. |
None |
None |