Refer to documentation Implementation
A selection window is used to choose the purge criteria.
Presentation
Without subsequent activity: This purge deletes all the lots where the quantity is null in the folder and for which no movement has been carried out since the specified date.
By default, the specified date corresponds to the current date minus the value (in months) of the MARPURLOT setup. If this setup is not defined, or its value is null, it will not be possible to purge the null lots from less than 12 months.
This deletion concerns the STOLOT, STOCK, STOQLYH and STOQLYD files. When a lot is null, normally no stock line must be associated with it. If all the same some exist, it implies that the STOCK and STOLOT tables are out of phase. It is then necessary to resynchronize the stock lines before carrying out a purge of the lot.
Similarly the STOQLYH and STOQLYD tables are not purged because if a lot is null, no quality control is normally associated with it. If however this is the case, the lot is deleted and the process purges the quality controls.
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 specifying the lots that have been purged and it is possible to print it.
Close
Fields
The following fields are present on this tab :
Block number 1
| Specify the reference date for the purge. All inactive lot from this date will be deleted. (date last entries/issues)\ If possible, maintain the null lots in two stock counts in order to reassign the stocks. |
Block number 2
|
|
Close
This function can be run in batch mode. The standard task FUNSTPL is provided for that purpose.
In addition to the generic error messages, the following messages can appear during the entry :
This message appears if the date entered is later than the authorized date.