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
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.
Block number 1
| Stock site (field STOFCY) |
|
Enter or select the storage site where the selected product is active. The Selection icon (magnifying glass) only suggests products that are referenced in the products-sites table. |
| Reference date (field PURQUADAT) |
|
Specify the reference date for the purge. All inactive stock line from this date will be deleted. (date last entries/issues) |
| From QC analysis no. (field PURQUASTR) |
|
Enter the start value (excluded value) conforming to the predefined format. |
| To QC analysis no. (field PURQUAEND) |
|
Enter the end value (included value) conforming to the predefined format. |
Block number 2
| Simulation (field SIM) |
|
|
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 recordThis message appears when the specified site is not a declared site.
Tables used
Refer to documentation Implementation