Naming Convention
A default write and delete triggers are represented with the name convention‘x/xxxxtwrite.p‘ and ‘x/xxxxtdelete.p‘ respectively.
Here, the first ‘x’ would be replaced by the program directory which is usually the first letter of the table, and the remaining four ‘x’ would be replaced by the first four letters of the table. Fifth letter is‘t’ denoting that its a trigger file, followed by write or delete.
For example, the default triggers for table ‘customer’ would be c/custtwrite.p and c/custtdelete.p, and the logical triggers for the same table would be c/custlwrite.p and c/custldel.p. The logical triggers are automatically executed by the default trigger when available.
When the trigger does not follow the naming convention rule, it is important to specify certain conditions in repository.
In X/E Repository the following information needs to be provided:
- Commit Trigger
- Delete Trigger
- Old Write Trigger and
- Old Delete Trigger
- Uncheck the Naming toggle-box as it is checked in by default.
If the naming convention is followed then it is not required to provide the above four information and no changes in “Naming” status is required.