1.Functional Description
1.1Purpose
This function maintains a link list which contains phantom items, branch/plant, and quantity.
1.2Setup Notes and Prerequisites
None.
1.3Special Logic
None.
2.Technical Specifications
2.4Processing
If MODE ='1' (add),
If GENLNG is null,
AddLinkListItem (to the end of the array) using the input parameters (ITM, MCU, UORG1, UORG2)
End If
If MODE = '2' (retrieve),
If Retrieve First Item = '1',
Retrieve First Item = '0'
DestroyLinkList
End If
If errors occur during processing, move '1' to ERRC.
Note that the Retrieve First Item value returned by the business function during the first read
must be stored in the calling application and passed in over and over again during subsequent reads.
^
D3100920 - Maintain Phantom Link List
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
idPhantomLinkedListPtr | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
cMode | MODE | char | NONE | NONE |
The processing mode used in Purchase Order Consolidator to signify when specific orders are being processed. | ||||
mnPhantomItemNumber | 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
| ||||
szPhantomBranchPlant | MCU | char | NONE | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
cErrorCode | ERRC | char | NONE | NONE |
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document
| ||||
cRetrieveFirstItem | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
mnPhantomQtyUnadjusted | UORG | MATH_NUMERIC | NONE | NONE |
The quantity of units affected by this transaction. | ||||
mnPhantomQtyAdjusted | UORG | MATH_NUMERIC | NONE | NONE |
The quantity of units affected by this transaction. |
None |
None |