There is one transaction in progress.
There is an open log file.
The document at the root of the update can be determined by the value of the following fields:
[M :STW]VCRTYP Document type (local menu no. 701)
[M :STW]VCRNUM Document number
[M :STW]VCRLIN Document line
[M:STW]TRSTYP Contains the transaction type (local menu no. 704)
The characteristics of the stock detail to receive are contained in the section 2 (grid) of the [STW] screen by using the index I.
All the tables of the stock engine are open but their content is not significant.
The stock update interface screen: STOWORK [STW] is open and contains all the characteristics of the receipts to carry out.
This entry point is called before the deletion of a lot when deleting the document from which it is issued.
It is used in order not to delete the lot.
There is one transaction in progress.
There is an open log file.
To prohibit the deletion of a lot, you must set the global variable GPE as follows: GPE = 1
All the tables of the stock engine are open but their content is not significant.