FILTRE_STO: modifying the filter on locations being counted

Use this entry point to modify the control of locations being counted in order to add additional filters.

Context and operating mode

Transaction

There is one transaction in progress.

Log file

There is an open log file.

Different call cases - Significant variables

This entry point is located in the C_LOCSTO sub-program of the SUBMTK3 processing.

The accessible parameters are:

- [L]WFILSTO Clause Where on the STOCK [F:STO] table

For example:

# EP for SUBMTK3

$ACTION

Case ACTION

When "FILTRE_STO" : Gosub FILTRE_STO

When default

Endcase

Return

######################################################################################

$FILTRE_STO # Issue 87078

If dim([L]WFILSTO)>0

[L]WFILSTO="ITMREF=[M:MTK3]MATITMREF(nolign-1)"

Endif

Return

 

Open tables

In the table below, the significant content flag indicates that the content is in phase with the context (the current customer is loaded…).

Table

Significant content

Table Title

STOLOC

Yes

Locations

STOCK

No

Stock by product/location

ITMMASTER

No

Products