Process STKMAJI: STKMAJI
MAJINVSTR: Before updating the stock count of a product
This entry point is called before the update of the stock count for a product on a given site.
The characteristics of this stock count 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 receipts and issues to be carried out.
MAJINVEND : After updating the stock count of a product
This entry point is called after the update of the stock count for a product on a given site.
The characteristics of this stock count 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 receipts and issues that have been carried out.