Process STKMAJC: STKMAJC
MAJEMPSTR: Before update of the stock changes for a document line
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.
Context and operating method
Transaction
There is one transaction in progress.
Log file
There is an open log file.
Different call cases
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)
Open tables
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.
MAJEMPEND: After the update of the stock changes for a document line
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.
Context and operating method
Transaction
There is one transaction in progress.
Log file
There is an open log file.
Different call cases
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)
Open tables
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.