This entry point is called before the update of stock changes associated with a document line.
The characteristics of these changes are contained in the work screen [M :STW].
The modification of the contents of this work screen is used to intervene on the updates to be carried out.
There is one transaction in progress.
There is an open log file.
The document at the origin of the update can be determined using the value of the following fields:
[M :STW]VCRTYP Document type (local menu 701)
[M :STW]VCRNUM Document number
[M :STW]VCRLIN Document line
[M:STW]TRSTYP Contains the transaction type (local menu 704)
All the tables of the stock engine are open but their contents are not significant.
The stock update interface screen: STOWORK [STW] is open and contains all the characteristics of the changes to be carried out.
This entry point is called after the update of stock changes associated with a document line.
The characteristics of these changes are contained in the work screen [M :STW].
It is used to carryout the additional updates.
There is one transaction in progress.
There is an open log file.
The document at the origin of the update can be determined using the value of the following fields:
[M :STW]VCRTYP Document type (local menu 701)
[M :STW]VCRNUM Document number
[M :STW]VCRLIN Document line
[M:STW]TRSTYP Contains the transaction type (local menu 704)
All the tables of the stock engine are open but their contents are not significant.
The stock update interface screen: STOWORK [STW] is open and contains all the characteristics of the changes that have been carried out.