1.Functional Description
1.1Purpose
This business function will save the item being processed into a linked list. If called in a second
mode, then it will check to see if the item exists in the linked list, if it does exist, it will
return a parameter = 1 to indicate the item was found.
1.2Setup Notes and Prerequisites
1.3Special Logic
2.Technical Specifications
2.4Processing
Linked list structure:
ITM
1) If the Mode is '0'
A) If the Pointer to the link list is NULL Create the Link list and add a node
with the information sent in: Item Number.
B) Else
If the node does not already exist for the Item passed in, add a node to the end of the
link list with the item sent in.
2) If the Mode is '1' check to see if the item exists in the linked list. If it does exist send
back DS VC01A = '1', otherwise send back DS VC01A = '0'. (This function may be called to see if an item
exists, but the linked list may not have any items in it yet so the pointer will be NULL, if this is
the case, then return DS VC01A = '0' to indicate that the item was not found.)
3) If the Mode is '2' destroy the entire linked list and set the Pointer to the Link list to NULL.
D3001070 - SaveItemsAlreadyFrozen
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cMode | MODE | char | NONE | NONE |
The processing mode used in Purchase Order Consolidator to signify when specific orders are being processed. | ||||
mnShortItemNumber | 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
| ||||
cFoundFlag | VC01A | char | NONE | NONE |
This is a generic field used for video constants display. | ||||
idPointerToLinkedList | GENLNG | ID | NONE | NONE |
General purpose ID variable. |
None |
None |