Process TRTSTOCHGB: Stock change detail
SGW_SCD: Transfer of stock change data from the storage screen to the entry scre
This entry point is used to transfer data from the stock change storage screen (STOCHGW) for a document line to the entry screen of the stock change detail.
Context and operating method
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 LOAD_FROM_SGW label of the TRTSTOCHGB processing.
It is called during the access to the detailed entry of stock changes at the time of loading of the STOCHG entry screen, from the data in the STOCHGW storage screen.
It is therefore used to complete the loading of the STOCHG [M :SCD] screen with the data contained in STOCHGW [M :SGW].
The indexes to be used in the screen grids are :
[M :SCD]NBLIG = Index in STOCHG [M :SCD]
I = Index in STOCHGW [M :SGW]
Warning:
This entry point is only designed to manage new fields.
In no case should the standard contents of the STOCHG and STOCHGW screens 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...).
Screen |
Significant content |
Screen title |
STOCHG |
Yes for the index [M :SCD]NBLIG |
Stock change details entry |
STOCHGW |
Yes for the index I |
Stock change data storage |
Table |
Significant content |
Table Title |
ITMCATEG |
Yes |
Product category |
ITMMASTER |
Yes |
Products |
ITMFACILIT |
Yes |
Products - Sites |
STJ_SCD: Data transfer from the STOJOU stock chge records to the entry screen
This entry point is used to transfer data from the stock change storage screen (STOCHGW) for a document line to the entry screen of the stock change detail.
Context and operating method
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 LOAD_FROM_STJ label of the TRTSTOCHGB processing.
It is called on accessing the detailed entry of stock changes at the time of loading of the STOCHG entry screen, from the data of the STOJOU record that matches the input movement (positive quantity) of the stock change.
It is therefore used to complete the loading of the STOCHG [M :SCD] screen with data contained in STOJOU [F :STJ] (entry movements of the stock change).
The indexes to be used in the screen grids are :
[M :SCD]NBLIG = Index in STOCHG [M :SCD]
Warning:
This entry point is only designed to manage new fields.
At no time should the standard contents of the STOCHG 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...).
Screen |
Significant content |
Screen title |
STOCHG |
Yes for the index [M :SCD]NBLIG |
Stock change details entry |
Table |
Significant content |
Table Title |
STOJOU |
Yes |
Stock transaction |
ITMCATEG |
Yes |
Product category |
ITMMASTER |
Yes |
Products |
ITMFACILIT |
Yes |
Products - Sites |