Entry points > Module Geode GX > Standard script REAAUT 

FLTSKO: restrictions des objets de stock pris en compte pour réapprovisio

This entry point is used to add specific conditions to the standard conditions to limit even more the stock objects taken into account in the reorder of the product locations.

Context and operating method

This entry point is called in the stock objects loading loop in the local variable table.

If GPE remains to 0, the current stock object (corresponding to the record [SKO]) is loaded, otherwise not.

Transaction

There is a transaction in progress when this entry point is called.

Available Tables and Variables

[V]GFCY [V]GDEP[L]ART is the product to reorder

STOCKOBJ table open and fed

STORE table open, with the current stock object store selected

SLOT table open, with the current stock object location selected

STORETYP table open, with the current stock object storage type selected

ITEMCTR table open, with the current stock object product container selected.

REAOBJ: Limitation of the stock objects taken into account in the reorder.

This entry point is used to forbid the reorder of a location by a stock object.

Context and operating method

This entry point is called in the loop browsing the stock objects loaded beforehand at the product location.

If GPE remains to 0, the current stock object (corresponding to [V]GFCY TB_POINT(OBJ)) can be used in the reorder, otherwise not.

Transaction

There is a transaction in progress when this entry point is called.

Available Tables and Variables

The location [F:SLO3] is the reorder destination.

[L]SLOSNGSKO is set to 1 if the reorder destination is managed as undifferentiated stock object, it is set to 0 otherwise.

[L]SLOCOE is the standard CU number of the reference container of the reorder destination.

STOCKOBJ table open and fed

[L]DISPOUC is the available stock of the stock object.

STORE table open, with the current stock object store selected

SLOT table open, with the current stock object location selected

STORETYP table open, with the current stock object storage type selected

ITEMCTR table open, with the current stock object product container selected.