This entry point is used to transfer the data from the stock change or quality detail entry screen (STOCHG or STOQUA) to the stock change storage screen (STOCHGW) for a document line (stock change or quality control).
There is no transaction in progress.
There is no open log file.
This entry point is located in the ADDSGW label of the SUBSCSB processing.
It is called during the saving of the stock change or quality control detail entry at the time of the storage in the STOCHGW screen of the data entered in the STOCHG or STOQUA screens.
It is thus used to complete the loading of the STOCHGW [M :SGW] screen with the data contained in STOCHG [M :SCD] or STOQUA [M :SQD].
The variable containing the name of the detailed entry screen is:
LMABR = Detailed entry screen in the form of: [M :XXX] (Example: [M :SQD] for the quality detail)
The indexes to be used in the screen grids are :
I = Index in the ‘LMABR’ screen
[M :SGW]NBLIG = Index in STOCHGW [M :SGW]
Warning:
The loading of the STOCHGW screen must be subject to the value of LMABR ([M :SCD] or [M :SQD]). Indeed LMABR can contain other values.
This entry point is only designed to manage new fields.
The standard content of the 'LMABR' and STOCHGW screens must never be modified.
In the table below, the significant content flag indicates that the content is in phase with the context (the current customer is loaded…).
Screen | Significant content | Screen title |
STOCHG | Yes if LMABR = [M :SCD] for index I | Stock change detail entry |
STOQUA | Yes if LMABR = [M :SQD] for index I | Quality detail entry |
STOCHGW | Yes for the [M :SGW]NBLIG index | Stock change data storage |
Table | Significant content | Table Title |
ITMCATEG | Yes | Product category |
ITMMASTER | Yes | Products |
ITMFACILIT | Yes | Products sites |
This entry point makes it possible to modify the entered STK quantity of the SCS1 (document) - stock change screen
There is no transaction in progress.
No trace file is open.
This entry point is located in the ALI_DOC label of the SUBSCSB processing.
It is called after the standard loading of the QTYSTUDES field in the screen.
It thus makes it possible to modify the loading
Screen | Significant content | Screen title |
SCS1 | Yes | stock change details |
|
Table | Significant content | Table Title |
ITMCATEG | Yes | Product category |
ITMMASTER | Yes | Products |
ITMFACILIT STOCK STOLOT ITMMVT | Yes Yes Yes Yes | Products sites Stock Lot number Product totals |
This entry point is called upon creation of a stock change.
It makes it possible to avoid performing a consistency check between the STK quantity and the PAC quantity: indeed the STK must correspond to an integer number of PACs (according to the number of decimals).
There is no transaction in progress.
The POK variable must be set to 1 if it is not required to perform the consistency check between the STK quantity and the PAC quantity.
There is no open log file.
This entry point is called upon entry of stock changes:
After clicking the "Create" button during the control performed before saving.
This entry point makes it possible to modify the contents of the SCS1 (document) - stock change screen
There is no transaction in progress.
There is no open log file.
This entry point is located in the ALI_DOC label of the SUBSCSB processing.
it thus makes it possible to modify the contents of the SCS1 screen after its standard loading
Screen | Significant content | Screen title |
SCS1 | Yes | stock change details |
|
Table | Significant content | Table Title |
ITMCATEG | Yes | Product category |
ITMMASTER | Yes | Products |
ITMFACILIT STOCK STOLOT ITMMVT | Yes Yes Yes Yes | Products sites Stock Lot number Product totals |