CNSSDISTD processing: Available Stock
FILTER_ORD: WIP filter when displaying available stock on ordered quantity
This entry point is called in order entry in the ordered quantity field, when displaying the available stock in the bottom of the screen.
It is used to intervene to take into account WIP when calculating the available stock.
Context and operating mode
Transaction
There is no transaction in progress.
Log file
There is no open log file.
Different call cases - Significant variables
This entry point is located in the FIRAVADAT sub-program of the CNSSDISTD processing.
It is used to modify the filter to apply on the WIP table.
To this end,
- set the GPE variable to 1:
GPE=1
- write the filter on the ORDERS table:
Filter [ORD] Where STOFCY=LFCY & ITMREF=LITM & FMI<2 Order By Key ORD1
For example
In order not to take into account the resources and requirements suggested, & WIPSTA<>3 must be added to the filter. The filter to write will thus be:
Filter [ORD] Where STOFCY=LFCY & ITMREF=LITM & FMI<2 & WIPSTA<>3 Order By Key ORD1