MOD_FILLOC: Possibility to modify a location to a customer location

Use this entry point to authorize the transfer of stock from an internal location to a customer location.

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 $OUVRE label of the SUBSCSA processing.

It is called upon the opening of the entry window for stock changes.

It is used to act on the filter applied to the location types authorized in selection by modifying the value of the GFILLOCENT variable.

The [F:SRT]BETFCYCOD field contains the transfer type authorized by the stock change transaction: it is set to 1 for internal transfers.

For example:

To authorize a change from an internal location to a customer location, the following sequence must be written:

If [F:SRT]BETFCYCOD=1 GFILLOCENT="[TLO]LOCCAT<=1|[TLO]LOCCAT=3" Endif

CRITSTO4: Possibility to modify the status filter on the STOCK table

This entry point is used to allow the modification of the filter status on the STOCK table in the selection panel.

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 $APRES_MODIF label of the SUBSCSA processing for the ITMREFSEL heading.

It is called when entering the product.

It is used to act on the filter applied to the statuses of the STOCK table by modifying the value of the WCRITSTO4 variable.