HISTO

Description

This action is called before the archiving of each record in the principal table. Following this action, the record from the principal table, as well as the records in the linked tables are created in the archived folder, then deleted from the current folder.

Template

Archiving / Purging

Use

It is used to carryout the controls before the archiving of a record. The archiving is prevented by setting [L]OKHIS.

It serves to delete or archive the tables not entered in the dictionary for this archiving. In this case, it is necessary to verify if the launch is made by simulation using the variable [L]SIMUL.

There is the possibility to request a detailed log using the flag [L]TRACEDET. In this case, a message will display the key for each processed record (principal and linked tables).