This function is used to define the archiving and purging procedures for a table and possibly any associated detail tables, as well as all the tables linked to it in the dictionary and whose cancellation code is set to deletion. Taking for example the archiving formula SOH for the customer order table SORDER, the tables SORDERP, SORDERQ etc are also archived.

These archive formulas are used during the archiving / purging function.

It is a supervisor process, which starting from the archiving formulas and the parameterization, will carryout this archiving and purging. It is however possible to add customization in a process whose name will be identified in a purging formula.

Remarque importante

Prerequisite

SEEREFERTTO Refer to documentation Implementation

Screen management

Entry screen

The entry of the purging formulas is carried out in a tab.

Specific Buttons

Copy

This button is used to copy an archiving formula to another folder Warning, the associated processes are not copied.

Important remark

It is important to note that the standard processes are passed on when the archiving or purging condition is not sufficient, and these standard processes must not be changed. Their poorly considered modification can provoke archiving and purging that could place the database stability in danger. It is recommended, if it is necessary to modify the archiving / purging rules, to complete the archiving formula by defining for example more restrictive criteria and to write if necessary the deletion of additional data created in the specific/custom tables in the specific/custom process. (see the methodology).

 

Copie

Error messages

In addition to the generic error messages, the following messages can appear during the entry :

Table not defined

The table entered in the "Linked table" field must have been entered as a table to be processed in the "table" field.

XXXXXX : Too many lines in this table

An attempt has been made to enter more than 20 detail tables for a principal table.

XXXXXX : Field does not exist in table YYYYYYY

Table YYYYYYY has been linked to a principal table. At least one primary key field for the principal table must exist in the detail table YYYYYYY.

XXXXXX : Incorrect data type

Table YYYYYYY has been linked to a principal table. The XXXXX field of the primary key for the principal table exists in the detail table but it is of a different data type.

Field does not exist in the XXXXXX table

The field identification fields (company, site, date) must reference a field that exists in the principal table.

Data type incorrect

The Company Zone field must reference a zone of the type CPY or FCY.
The field Site Zone must reference a zone of the type CPY or FCY.
The field Date Zone must reference a zone of the type date.

 

Tables used

SEEREFERTTO Refer to documentation Implementation