UpdateVendorScheduleLinkList

Vendor Schedule Print, Maintain Link List

Major Business Rule

Object Name: B3401130

Parent DLL: CMFG

Location: Client/Server

Language: C

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.



Data Structure

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 NameData ItemData TypeReq/OptI/O/Both
idLinkListPointerGENLNGIDNONENONE

General purpose ID variable.

mnReleaseQuantityRLQTMATH_NUMERICNONENONE

The quantity released against a blanket order.  The total releases for a given date.

mnPlannedQuantityPLQTMATH_NUMERICNONENONE

The quantity of units planned for each period in the time series or plan.

mnHistoricalQuantityHSQTMATH_NUMERICNONENONE

The previous quantity either released or planned.  This is saved to allow the calculation of a 'Net Change' value in supplier scheduling.

mnNetChangeQuantityNC01MATH_NUMERICNONENONE

mnCumulativeQuantityCMAMMATH_NUMERICNONENONE

The sum of all period amounts up to and including the current period.

jdScheduleDateSTRTJDEDATENONENONE

The start date for the order. You can enter this date manually, or have the system calculate it using a backscheduling routine. The routine 
starts with the required date and offsets the total leadtime to calculate the appropriate start date.

cDateShippableVSSDcharNONENONE

Indicates that the supplier is willing to make a shipment on this date.

cModeEV01charNONENONE

An option that specifies the type of processing for an event.

cErrorCodeERRCcharNONENONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

cRetrieveFirstItemEV02charNONENONE

An option that specifies the type of processing for an event.

jdRequestedDateDRQJJDEDATENONENONE

The date that an item is scheduled to arrive or that an action is scheduled for completion.

mnCommittedQuantityMATH01MATH_NUMERICOPTNONE

- - - Good Performance Low Value. 

Related Functions

None

Related Tables

None