Purge stock count sessions
This function is used to purge for a given warehouse site, the closed physical stock count sessions that have an update date that is less than the specified 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
Physical stock count session purge: A physical stock count session (CUNSESSION) contains the physical stock count lists (CUNLISTE) and each physical stock count list contains the stock count lines (CUNLISDET).
Once the reference date is entered, the system deletes all the closed sessions (CUNSESSION) having an earlier date. It then deletes in series all the lists (CUNLISTE) and all the details (CUNLISDET) for the deleted sessions. The deletion carried out for a given warehouse site, which is initialized by default to the site entered in the user's profile.
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 that specifies the physical stock count session that have been deleted. 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 PURCUNDAT) |
Specify the reference date for the purge. All inactive stock line from this date will be deleted. (date last entries/issues) |
Block number 2
Simulation (field SIM) |
|
Batch task
This function can be run in batch mode. The standard task FUNSTPI is provided for that purpose.