Process FUNSTKB: Statistical Reordering
CALSAFSTO: Safety stock calculation
This entry point is used to carryout a specific/custom calculation of the safety stock.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
There is an open log file
Different call cases
Before calling the standard safety stock calculation (if the setup requires a recalculation of safety stock).
The GPE variable must not equal 0 to not execute the standard process.
Available variables and masks
Variable or mask |
Definition |
Mask STKB [STKB] |
Execution parameters |
Table [ITF] |
On-line Product-site |
Table [STE] |
On-line stock parameters |
Table [TCL] |
On-line product category |
TISS() Local Decimal |
Monthly consumption grid |
Local IT Integer |
Number of TISS values |
Local WJOU integer |
Average number of days per month |
Local WDEL decimal |
Reorder lead-time |
Local WSAF decimal |
Put-away the safety stock calculated |
Local ISAF integer |
Put-away 0 if the safety stock has been calculated without error If <> 0 the processing will continue with the value previously calculated. |
Global GPE integer |
Set to <> 0 to not carry out the standard process Set to = 0 to carry out the standard process |
Open tables
Table |
Significant content |
Table Title |
[FCY] |
|
Site |
[ITM] |
Yes |
Product master |
[ITF] |
Yes |
Product-site |
[ITV] |
|
Product-Site amounts |
[STE] |
Yes |
Stock site parameters |
[TSA] |
|
Safety stock coefficients |
[ITC] |
|
Product cost |
[ITH] |
|
Product site total history |
[ORD] |
|
in process |
|
|
|
CALREOTSD: Reorder threshold calculation
This entry point is used to carryout a specific/custom calculation of the reorder threshold.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
There is an open log file
Different call cases
Before calling the standard reorder point calculation (if the setup requires a recalculation of the reorder point).
The GPE variable must not equal 0 to not execute the standard process.
Available variables and masks
Variable or mask |
Definition |
Mask STKB [STKB] |
Execution parameters |
Table [ITF] |
On-line Product-site |
Table [STE] |
On-line stock parameters |
Table [TCL] |
On-line product category |
TISS() Local Decimal |
Monthly consumption grid |
Local IT Integer |
Number of TISS values |
Local WJOU integer |
Average number of days per month |
Local WDEL decimal |
Reorder lead-time |
Local WSEC decimal |
Reference safety stock |
Local WTSD decimal |
Put-away the calculated re-order point |
Local ITSD integer |
Put-away 0 if the reorder point has been calculated without error If <> 0 the processing will continue with the value previously calculated. |
Global GPE integer |
Set to <> 0 to not carry out the standard process Set to = 0 to carry out the standard process |
Open tables
Table |
Significant content |
Table Title |
[FCY] |
|
Site |
[ITM] |
Yes |
Product master |
[ITF] |
Yes |
Product-site |
[ITV] |
|
Product-Site amounts |
[STE] |
Yes |
Stock site parameters |
[TSA] |
|
Safety stock coefficients |
[ITC] |
|
Product cost |
[ITH] |
|
Product site total history |
[ORD] |
|
in process |
|
|
|
CALREOMIN: Economic lot calculation
This entry point is used to carryout a specific/custom calculation of the economic lot.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
There is an open log file
Different call cases
Before calling the standard economic lot calculation (if the setup requires a recalculation of the economic lot).
The GPE variable must not equal 0 to not execute the standard process.
Available variables and masks
Variable or mask |
Definition |
Mask STKB [STKB] |
Execution parameters |
Table [ITF] |
On-line Product-site |
Table [STE] |
On-line stock parameters |
Table [TCL] |
On-line product category |
TISS() Local Decimal |
Monthly consumption grid |
Local IT Integer |
Number of TISS values |
Local WJOU integer |
Average number of days per month |
Local WDEL decimal |
Reorder lead-time |
Local WMIN decimal |
Put-away the calculated economic lot |
Local IMIN integer |
Put-away 0 if the economic lot has been calculated without error If <> 0 the processing will continue with the value previously calculated. |
Global GPE integer |
Set to <> 0 to not carry out the standard process Set to = 0 to carry out the standard process |
Open tables
Table |
Significant content |
Table Title |
[FCY] |
|
Site |
[ITM] |
Yes |
Product master |
[ITF] |
Yes |
Product-site |
[ITV] |
|
Product-Site amounts |
[STE] |
Yes |
Stock site parameters |
[TSA] |
|
Safety stock coefficients |
[ITC] |
|
Product cost |
[ITH] |
|
Product site total history |
[ORD] |
|
in process |
|
|
|
CALSTOMAX: Maximum stock calculation
This entry point is used to carry out a specific/custom calculation of the maximum stock.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
There is an open log file
Different call cases
Before calling the standard maximum stock quantity calculation (if the setup requires a recalculation of the maximum stock quantity).
The GPE variable must not equal 0 to not execute the standard process.
Available variables and masks
Variable or mask |
Definition |
Mask STKB [STKB] |
Execution parameters |
Table [ITF] |
On-line Product-site |
Table [STE] |
On-line stock parameters |
Table [TCL] |
On-line product category |
TISS() Local Decimal |
Monthly consumption grid |
Local IT Integer |
Number of TISS values |
Local WJOU integer |
Average number of days per month |
Local WDEL decimal |
Reorder lead-time |
Local WMAX decimal |
Put-away the calculated maximum stock |
Local IMAX integer |
Put-away 0 if the maximum stock quantity has been calculated without error If <> 0 the processing will continue with the value previously calculated. |
Global GPE integer |
Set to <> 0 to not carry out the standard process Set to = 0 to carry out the standard process |
Open tables
Table |
Significant content |
Table Title |
[FCY] |
|
Site |
[ITM] |
Yes |
Product master |
[ITF] |
Yes |
Product-site |
[ITV] |
|
Product-Site amounts |
[STE] |
Yes |
Stock site parameters |
[TSA] |
|
Safety stock coefficients |
[ITC] |
|
Product cost |
[ITH] |
|
Product site total history |
[ORD] |
|
in process |
|
|
|
STODISPAR: Parameters for available stock
This entry point is called before the available stock calculation for a product-site from the STOPRETOT sub-program on reorder by reorder calculation (threshold and periodic). It is used to specify the location categories and statuses to be considered in the available stock.
Context and operating mode
Transaction
There is one transaction in progress
Log file
There is an open log file.
Different call cases
Before the available stock calculation for a product-site from the STOPRETOT sub-program as reorder calculation (threshold and periodic).
Variables
Two variables are available to define the location categories and statuses to be taken into account in the available stock:
WTYPLOC: All the internal locations are taken into account + the combinations defined by the following weighting:
1 = Waiting put-away
2 = Customers
4 = Sub-contractors
For example: 5 = Waiting put-away and sub-contractors
WSTA: Status(es) to be taken into account = local menu 2701
Open tables
Table |
Significant content |
Table Title |
[FCY] |
|
Site |
[ITM] |
Yes |
Product master |
[ITF] |
Yes |
Product-site |
[ITV] |
Yes |
Product-Site amounts |
[STE] |
Yes |
Stock site parameters |
[TSA] |
|
Safety stock coefficients |
[ITC] |
|
Product cost |
[ITH] |
|
Product site total history |
[ORD] |
|
in process |
BEFWRISUG: Before suggestion write
The entry point is called before the write of a suggestion.
Context and operating mode
Transaction
There is one transaction in progress
Log file
There is an open log file.
Context
The buffer [ORDK] is loaded. The entry point is called just before the call to the TRTWIP process that creates the suggestion from this buffer. It is therefore possible to intervene in the buffer values.
Open tables
Table |
Significant content |
Table Title |
[ITM] |
Yes |
Product |
[ITF] |
Yes |
Product-site |
[ITV] |
Yes |
Product-Site amounts |
[ORD] |
No |
in process |
STODIS: Calculation of available stock on reorder
This entry point is called after the available stock calculation for a product-site from the STOPRETOT sub-program on reorder calculation (threshold or periodic).
Context and operating mode
Transaction
There is one transaction in progress
Log file
There is an open log file.
Different call cases
After the available stock calculation for a product-site from the STOPRETOT sub-program as a calculation of the reorder by threshold.
Variables
Variable or mask |
Definition |
WDIS Decimal |
Contains the available stock calculated by the sub-program STOPRETOT. |
Open tables
Table |
Significant content |
Table Title |
[FCY] |
|
Site |
[ITM] |
Yes |
Product master |
[ITF] |
Yes |
Product-site |
[ITV] |
Yes |
Product-Site amounts |
[STE] |
Yes |
Stock site parameters |
[TSA] |
|
Safety stock coefficients |
[ITC] |
|
Product cost |
[ITH] |
|
Product site total history |
[ORD] |
|
in process |
CUSFLT: User filter
Entry point used to add another filter within the selection framework of the products to reorder.
Context and operating mode
Transaction
There is no transaction in progress
Log file
There is an open log file.
Context
Three character chains LITF(250), LITM1(250) and LITM2(250) contain selection criteria on tables ITMFACILIT and ITMMASTER respectively.
The character chain WFIL(60) contains the selection criteria as regards the ABC class as well as the reorder mode.
The entry point is used to modify these character chains in order to obtain a different filtering.
For example:
WITF += ‘[F :ITF]SAFSTO > 100’
Open tables
Table |
Significant content |
Table Title |
[ITM] |
No |
Product |
[ITF] |
No |
Product-site |
[ITV] |
No |
Product-Site amounts |
[ORD] |
No |
in process |
CALMFGLOT: Technical lot
This entry point allows to avoid rounding based on the technical lot. This is the default behavior in Production (WOS) and Sub-contracting (EOS) suggestions.
Context and operating method
Transaction
There is one transaction in progress.
Log file
There is an open log file
Different call cases
Before calling the standard sub-program of quantity readjustment based on the technical lot (if a technical lot has been set up and the suggestion is of Production or Sub-contracting type)
The GPE variable must not equal 0 to not execute the standard process.
Available variables and masks
Variable or mask |
Definition |
Mask STKB [STKB] |
Execution parameters |
Table [ITF] |
On-line Product-site |
Table [STE] |
On-line stock parameters |
Table [TCL] |
On-line product category |
Global GPE integer |
Set to <> 0 to not carry out the standard process Set to = 0 to carry out the standard process |
Open tables
Table |
Significant content |
Table Title |
[FCY] |
|
Site |
[ITM] |
Yes |
Product master |
[ITF] |
Yes |
Product-site |
[ITV] |
|
Product-Site amounts |
[STE] |
Yes |
Stock site parameters |
[TSA] |
|
Safety stock coefficients |
[ITC] |
|
Product cost |
[ITH] |
|
Product site total history |
[ORD] |
|
In progress |
|
|
|