Script STKADC: STKADC
DOC_SOW: Transfer of the data from a document line using the storage screen
This entry point is used to transfer the data on the document line entry screen to the issue data storage screen (STOSORW).
It is called from Miscellaneous issue and material issue documents from the ADCs > Select by identifier menu.
Context and operating method
Transaction
There is one transaction in progress
Log file
There is no open log file.
Different call cases - Significant variables
This entry point is located in the CHGSOW_SMO and CHGSOW_MBM sub-programs of the STKADC process.
It is called during the creation of the document.
It is thus possible to load the information entered in the document line in the issue storage screen STOSORW ([M :SOW]).
The variable containing the name of the document line entry screen is:
LABR = Document line entry screen under the form: XXX
XBMO for miscellaneous issue
XBMT for material issue
the SMO0 and SMO1 masks are completed for miscellaneous issue
the MTKBENCHM/MBM is completed for material issue
Warning:
This entry point is only designed to manage new fields.
At no time should the standard contents of the STOSORW screen be modified.
Open tables
In the table below, the significant content flag indicates that the content is in phase with the context (the current customer is loaded…).
Table |
Significant content |
Table Title |
ITMMASTER |
Yes |
Products |
STOCK |
Yes |
Stock |
ITMFACILIT |
Yes |
Products - Sites |
LOAD_STOCK: Can skip loading stock into the [STCW] screen
Use this entry point to skip loading a particular stock record in the [M:STCW] screen that is used to capture the stock lines that match the user's input.
This entry point can be used to restrict inventory in certain locations or disposition from being considered.
The Select by identifier ADC functions use the RECSTO subprogram where this entry point has been added.
Context description
Transaction
There is no transaction in progress.
Log file
There is no open log file.
Different call cases - Significant variables
This entry point is located in the RECSTO sub-program in STKADC.
It is called just before the stock line is added to the STCW screen. To skip loading the stock line into the screen, set the GPE variable to 1.
Open tables
Table |
Significant content |
Table Title |
ITMMASTER |
Yes |
Products |
STOCK |
Yes |
Stock |
ITMFACILIT |
Yes |
Products sites |