Step 3 Add Rules to the File

Visual LANSA

Step 3. Add Rules to the File

REP011 - Repository Summary

In this step add rules to the Holidays file:

1.  To ensure that the employee number in the Holidays file exists in the Employee file.

2.  To ensure the holiday code can be either 'ANL' (Annual Leave) or 'OWN' (Leave without Pay).

     Check your validation rules using the Simple Rules List in the Rules and Triggers tab.

     Remember to compile your file and check your compile settings