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 is thus used to authorize its modification even if there is an allocated quantity or a quantity being processed.

Context and operating mode

Transaction

There is no transaction in progress.

Log file

There is no open log file.

Different call cases and variables available

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

The [L]WIND local variable includes the result 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.