1.Functional Description
1.1Purpose
This business function will be used to maintain a link list, which will contain information passed in
from the calling program and can later be retrieved by the program for general processing.
1.2Setup Notes and Prerequisites
1.3Special Logic
2.Technical Specifications
If MODE ='1' (add),
If GENLNG is null,
CreateLinkList
End If
AddLinkListItem (to the end of the array) using the input parameters (RLQT, PLQT, HSQT, NC01,
CMAM, STRT, VSSD), and return GENLNG
End If
If MODE = '2' (retrieve),
If Retrieve First Item = '1',
GetFirstListItem, and return RLQT, PLQT, HSQT, NC01, CMAM, STRT, VSSD, and
GENLNG
Retrieve First Item = '0'
Else
GetNextListItem, and return the RLQT, PLQT, HSQT, NC01, CMAM, STRT, VSSD, and
GENLNG
End If
End If
If MODE = '3' (delete),
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.
D3401130 - Vendor Schedule Print, Maintain Link List
Data Item Data Structure DescriptionI/ORequiredNotes
GENLNG LinkListPointer I/OYes
RLQT Release Quantity I/OYes
PLQT Planned Quantity I/OYes
HSQT Historical Quantity I/OYes
NC01 Net Change Quantity I/OYes
CMAM Cumulative Quanitty I/OYes
STRT Dates I/OYes
VSSD Date Shippable I/OYes
EV01 Mode IYes '1' = Insert
'2' = Fetch
'3' = Destroy
ERRC Error Code O '0' = Success
'1' = Error
EV02 Retrieve First Item I/O '0' = Next Item Will Be Read
'1' = First Item Will Be Read
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
idLinkListPointer | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
mnReleaseQuantity | RLQT | MATH_NUMERIC | NONE | NONE |
The quantity released against a blanket order. The total releases for a given date. | ||||
mnPlannedQuantity | PLQT | MATH_NUMERIC | NONE | NONE |
The quantity of units planned for each period in the time series or plan. | ||||
mnHistoricalQuantity | HSQT | MATH_NUMERIC | NONE | NONE |
The previous quantity either released or planned. This is saved to allow the calculation of a 'Net Change' value in supplier scheduling. | ||||
mnNetChangeQuantity | NC01 | MATH_NUMERIC | NONE | NONE |
mnCumulativeQuantity | CMAM | MATH_NUMERIC | NONE | NONE |
The sum of all period amounts up to and including the current period. | ||||
jdScheduleDate | STRT | JDEDATE | NONE | NONE |
The start date for the order. You can enter this date manually, or have the system calculate it using a backscheduling routine. The routine
| ||||
cDateShippable | VSSD | char | NONE | NONE |
Indicates that the supplier is willing to make a shipment on this date. | ||||
cMode | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
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 | EV02 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
jdRequestedDate | DRQJ | JDEDATE | NONE | NONE |
The date that an item is scheduled to arrive or that an action is scheduled for completion. | ||||
mnCommittedQuantity | MATH01 | MATH_NUMERIC | OPT | NONE |
- - - Good Performance Low Value. |
None |
None |