Purge traceability
This function is used to delete the traceability records from the entered date and potentially the issued serial numbers associated with the deleted records.
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 purge definitively deletes all the traceability records for the selected warehouse site, where the posting date is less than the reference date entered. By default the warehouse site proposed corresponds to the site associated with the user's profile function.
If the Serial number tick box is ticked, the process will also eliminate the issued serial numbers associated with the purged records.
This deletion concerns the STOSER and STOTRK files.
The specified Reference date corresponds by default to the current date minus the value (in months) of the MARPURTRK setup. If this setup is not defined, or if its value is null, it will not be possible to purge the records of less than 60 months.
If the Simulation tick-box is ticked, it signifies that the process will not be carried out in direct mode.
Process log file: The process generates a log file specifying the lots that have been purged, which can be printed.
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 DATREF) |
All the traceability records where the allocation date is prior to the entered date will be definitively purged and the issued serial numbers will also be purged if necessary. The maximum date to purge is set by the MAXPURTRK parameter. If this parameter is not defined or if its value is blank, it will not be possible to purge movements of less than 60 months. |
Purge serial numbers (field SERFLG) |
Tick if the serial numbers that correspond to the deliveries have to be purged. |
Block number 2
Simulation (field SIM) |
|
Batch task
This function can be run in batch mode. The standard task FUNSTPT is provided for that purpose.