This entry point is called before the update of stock issues associated with a document line.
The characteristics of these issues 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 issues to be carried out.
This entry point is called after the update of stock issues associated with a document line.
The characteristics of these issues 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 issues that have been carried out.
This entry point is called before the entry of a stock issue transaction and the update of the stock line.
The characteristics of this issue 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)
The 2nd block of the [M :STW] screen given an index via the variable I contains the characteristics of the issue.
The [L]SIGN and [L]SENS local variables have the following meaning:
SIGN | SENS |
|
-1 | +1 | Issue |
+1 | +1 | Issue cancellation |
-1 | -1 | Negative issue |
+1 | -1 | Negative issue cancellation |
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 issue to be carried out.