Processing TRTSTOSOR: Stock Issues
MODISSPAR: Used to issue stock subject to a quality control
This entry point is used to authorize the issue of stock lines that are the object of an analysis request.
In the detailed entry of stock issues, it is used to pick the stock lines subject to an analysis request.
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 called during the call to the detailed entry of the stock issues after display of the screen. It is thus used to intervene on the setups operating on this entry.
To authorize the entry of the stock lines subject to a quality control, it is necessary to load the screen variable[M:SOR]PECQLYCTL in the following fashion : [M:SOR]PECQLYCTL = 2.
Similarly, it is possible to intervene on the following setups :
[M:SOR]PECPLFLOC (Do not consider the locations waiting put-away : 1=no / 2 =yes). In standard, they are taken into account.
[M :SOR]PECSCOLOC (Take into account the sub-contractor locations : 1=no / 2=yes). As a standard, they are not taken into account, except in the case of WO tracking.
It is possible to add a filter to the stock lines by loading field [M :SOR]FILSTO. It is necessary to define the filter by using the fields in the STOCK table with the abbreviation [F :STO].
The significant variables are:
[M:SOR]TRSTYP : Transaction type (Local menu 704)
GVCRTYP : Document type (Local menu 701)
LCY : Site
LITM : Product
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 |
ITMCATEG |
Yes |
Product category |
ITMMASTER |
Yes |
Product |
ITMFACILIT |
Yes |
Product-site |
SOW_SOR: Transfer of the issue data from the storage screen to the entry screen
This entry point is used to transfer data from the issues storage screen (STOSORW) for a document line to the issue entry screen (STOSOR).
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 ALI_MSK_SOR label of the TRTSTOSOR processing.
It is called on accessing the detailed entry of stock issues at the time of loading of the STOSOR entry screen, from the data in the STOSORW storage screen.
It is therefore used to complete the loading of the STOSOR [M :SOR] screen with data contained in STOSORW [M :SOW].
The indexes to be used in the screen grids are :
NOL = Index in STOSOR [M :SOR]
I = Index in STOSORW [M :SOW]
Warning:
This entry point is only designed to manage new fields.
In no case should the standard contents of the STOSOR and STOSORW 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 |
STOSOR |
Yes for the index NOL |
Issue data entry |
STOSORW |
Yes for the index I |
Storage of the issue data |
Table |
Significant content |
Table Title |
ITMCATEG |
Yes |
Product category |
ITMMASTER |
Yes |
Products |
ITMFACILIT |
Yes |
Products - Sites |
STOCK |
Yes if [M:SOR]STOCOU(NOL)<>0 |
Stock |
SOR_SOW: Transfer of the issue data from the entry screen to the storage screen
This entry point is used to transfer data from the issue entry screen (STOSOR) to the issue entry screen (STOSORW) of a document line.
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 ENR label of the TRTSTOSOR processing.
It is called during the saving of the detailed entry of the stock issues upon storage in the STOSORW screen of the data entered in the STOSOR screen.
It is therefore used to complete the loading of the STOSORW [M :SOW] screen with data entered in STOSOR [M :SOR].
The indexes to be used in the screen grids are :
I = Index in STOSOR [M :SOR]
J = Index in STOSORW [M :SOW]
Warning:
This entry point is only designed to manage new fields.
In no case should the standard contents of the STOSOR and STOSORW 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 |
STOSOR |
Yes for the index I |
Issue data entry |
STOSORW |
Yes for the index J |
Storage of the issue data |
Table |
Significant content |
Table Title |
ITMCATEG |
Yes |
Product category |
ITMMASTER |
Yes |
Products |
ITMFACILIT |
Yes |
Products - Sites |
STOCK |
Yes if [M:SOR]STOCOU(I)<>0 |
Stock |