GENSLM_BSLH: Before loading the new characteristics of the lot into the SLH buff

This entry point is used to intervene before loading the new LOT characteristics into the [F :SLH] buffer.

Context and operating mode

Transaction

There is no transaction in process.

Log file

There is an open log file

Different call cases

In the GEN_SLM sub-program of the FUNSMXUPD process

Available variables and masks

Variable or mask

Definition

File ITMMASTER [ITM]

Buffer table ITMMASTER entirely loaded

File STOLOT [STL]

Buffer table STOLOT entirely loaded

Mask SMXUPD2 [SUD2]

Buffer mask SMXUPD2 entirely loaded

GENSLM_ASLH: After loading the new characteristics of the lot into the SLH buff

This entry point is used to intervene after loading the new LOT characteristics into the [F :SLH] buffer.

Context and operating mode

Transaction

There is no transaction in process.

Log file

There is an open log file

Different call cases

In the GEN_SLM sub-program of the FUNSMXUPD process

Available variables and masks

 Variable or mask

Definition

File ITMMASTER [ITM]

Buffer table ITMMASTER entirely loaded

 File STOLOT [STL]

 Buffer table STOLOT entirely loaded

Mask SMXUPD2 [SUD2]

Buffer mask SMXUPD2 entirely loaded

CTL_LOT: Modification control of the lot characteristics

This entry point is called during the lot control to determine if its characteristics can be changed.

It allows to authorize the change even if there is an allocated quantity or a quantity being processed.

Context and operating method

Transaction

There is no transaction in process.

Log file

There is no open log file

Different call cases and available variables

It is called after the lot entry to verify if its characteristics can be changed.

The WIND local variable contains the results of this control:

- WIND = 1 if there is stock allocated to this lot

- WIND = 3 if there is stock being processed on this lot

In both cases, in order to authorize the modification of the lot characteristics, the variable must be set to: WIND = 0

 Warning: The value of WIND must not be changed if the modification is for the title.