Purge Quality analyses

This function is used to purge, for a given warehouse site, the quality analysis requests earlier than a given date.

This process can be carried out either directly, in simulation mode or in Batch mode.

Prerequisite

See also Refer to documentation Implementation

Screen management

A selection window is used to choose the purge criteria.

Entry screen

This function is used to purge, for the selected warehouse site and for the chosenanalysis request number range, the quality analysis requests completely controlled before the date specified (STOCK, STOQLYD and STOQLYH tables). The default warehouse site corresponds to the site associated with the operator's profile.

The STOCK table is not purged because if a quality analysis request is confirmed, it is no longer reference in the stock line. If this is not the case it implies that the STOCK, STOQLYH and STOQLYD tables are out of phase.

The Simulation tick box can be ticked when the process should not be launched in direct mode.

Process log file: The process generates a log file for the purged requests. It is possible to print it.

Batch task

This function can be run in batch mode. The standard task FUNSTPQ is provided for that purpose.

Error messages

In addition to the generic error messages, the following messages can appear during the entry :

Site name: xxx non-existent record

This message appears when the specified site is not a declared site.

Tables used

See also Refer to documentation Implementation