Process STKINV: STKINV
WRICUD: Before stock count detail write
Entry point before writing of a stock count line detail (CUNLISDET table).
Context and operating method
Transaction
There is one transaction in progress.
Log file
There is no open log file.
Different call cases
The [F :CUD] buffer is loaded and can be modified before posting.
Available variables and masks
Variable or mask |
Definition |
Mask INV0 [INV0] |
Stock count header |
Mask INV1 [INV1] |
Stock count setups |
Mask INV5 [INV5] |
Selections |
Mask INV2 [INV2] |
Stock count lines |
Table [CUD] |
Stock count record |
Open tables
Tables of INV object
CUD_SIW: Before renumbering the list
Used to load the STOINVW storage screen with the specific/custom fields of the CUNLISDET file.
Context and operating method
Transaction
There is no transaction in progress.
Log file
There is no open log file.
Different call cases
The [F :CUD] buffer is loaded.
When entering new stock count lines, the process renumbers the stock count list. If specific/custom fields exist
For the CUNLISDET file, this EP should be used to keep them.
Available variables and masks
Variable or mask |
Definition |
Mask STOINVW [SIW] |
Storage of the list details |
I local integer I |
Table index |
Open tables
CUNLISDET
SIW_CUD: Before writing the CUNLISDET file
It is used to load the CUNLISDET file from the STOINVW storage screen
Context and operating method
Transaction
There is no transaction in progress.
Log file
There is no open log file.
Different call cases
The [F :CUD] buffer is loaded.
When entering new stock count lines, the process renumbers the stock count list. If specific/custom fields exist
For the CUNLISDET file, this EP should be used to keep them.
Available variables and masks
Variable or mask |
Definition |
Mask STOINVW [SIW] |
Storage of the list details |
I local integer I |
Table index |
Open tables
CUNLISDET
RGP_PRECHARG: Used to pre-load the counted quantity onto the group screen
In standard, when the pre-loading of the counted quantity is set up to "yes", the pre-loading is carried out onto the group screen only if it corresponds to a detail line. This EP is used to pre-load the counted quantity onto the group screen, irrespective of the detail number, by positioning the GPE variable to 1.
Context and operating method
Transaction
There is no transaction in progress.
Log file
There is no open log file.
Different call cases
This EP is placed in the RGP_CUM_CUMUL label of the STKINV process.
Available variables and masks
Variable or mask |
Definition |
GPE |
Numerical variable |
Open tables
CUNLISDET
TRICREINV: Used to perform a specific sorting of the created lists
This EP is used to perform a specific sorting of the created lists.
Setting the GPE variable to 1 inhibits the standard sorting.
Context and operating method
Transaction
There is no transaction under progress.
Log file
There is no open log file.
Different call cases
This EP is placed in the CRE_INV label of the STKINV processing.
Used to perform a specific sorting of the created lists
If GPE = 1, the standard sorting is inhibited.
Available variables and masks
Variable or mask |
Definition |
GPE STOINVW[SIW] mask Table CUNSESSION[CUN]
|
Details to be created Session
|
Open tables
CUNLISDET
TRICLEREG: Used to define the major headings of the grouping keys
This EP is used to define the major headings of the grouping keys.
Setting the GPE variable to 1 inhibits the standard definition.
Context and operating method
Transaction
There is no transaction under progress.
Log file
There is no open log file.
Different call cases
This EP is placed in the TRT_CLE_REGROUPEMENT label of the STKINV process.
Reminder regarding a product-type stock count: the major headings of the grouping keys are:
Product + Location
Reminder regarding a location-type stock count: the major headings of the grouping keys are:
Location + Product
Available variables and masks
Variable or mask |
Definition |
GPE Table STKTRS [SRT] Table CUNLISDET[CUD] |
Transaction Stock count detail |
Open tables
CUNLISDET
TRIRENUM: Used to perform a specific sorting of the created lists
This entry point is used to perform a specific sorting of the created lists in a context where a line is added.
Setting the GPE variable to 1 inhibits the standard sorting.
Context and operating method
Transaction
There is no transaction under progress.
Log file
There is no open log file.
Different call cases
This EP is placed in the RENUM_CUD label of the STKINV process.
This entry point is used to perform a specific sorting of the created lists in a context where lines are added.
If GPE = 1, the standard sorting is inhibited.
Available variables and masks
Variable or mask |
Definition |
GPE STOINVW[SIW] mask Table CUNSESSION[CUN]
|
Details to be created Session
|
Open tables
CUNLISDET
SNL_CUD: Used to feed the CUNLISDET file from the SNL1 screen
Used to feed the CUNLISDET file from the SNL1 screen
Context and operating method
Transaction
There is one transaction in process.
Log file
There is no open log file.
Different call cases
This EP is called on validation of the detail counting.
Available variables and masks
Variable or mask |
Definition |
Mask SNL1 [SNL1] |
Storage details |
I local integer WI |
Table index |
Open tables
CUNLISDET
SNL_SIW: Used to load the STOINVW storage screen from the SNL1 screen
Used to load the STOINVW storage screen from the SNL1 screen
Context and operating method
Transaction
There is one transaction in process.
Log file
There is no open log file.
Different call cases
Used to load the STOINVW storage screen from the SNL1 screen (details)
Available variables and masks
Variable or mask |
Definition |
Mask STOINVW [SIW] |
Storage details |
I local integer WI local integer I |
SNL1 table index SIW table index |
Open tables
CUNLISDET
SNL0_CUD: Used to feed the CUNLISDET file from the SNL0 screen
Used to feed the CUNLISDET file from the SNL0 screen
Context and operating method
Transaction
There is no transaction in progress.
Log file
There is no open log file.
Different call cases
This EP is called on validating the counting from the grouping screen.
Available variables and masks
Variable or mask |
Definition |
Mask SNL0[SNL0] |
Grouping |
local integer LG
|
SNL0 table index
|
Open tables
CUNLISDET