REP003 - Validation Rules

Validation rules are enforced by business rules defined in the Repository. Rules which are defined in the field definition become global rules, meaning that they will be enforced in any file where the field is used. Most rules are defined in the file definition in which case they are enforced only in the context of that file. You will learn more about this feature in the exercise REP007 - File Validation Rules/Triggers.

Objectives

iiiSurname

Cannot be blank (copied from reference field)

iiiSalary

Must be greater than 0

 

To achieve these objectives you will complete the following:

Step 1. Review Existing Rule for iiiDeptCode Field

Step 2. Adopt Rule from Reference Field

Step 3. Create a Rule for the iiiSalary Field

Summary

Before you Begin

In order to complete this exercise, you must have completed the previous exercises.