Adding a check constraint to a domain
- Select System > Agency Personalization > Schema Manager.
- Click the Domains node below the Infor Product Families tree.
- Enable editing in the grid and select the domain that you want to add a check constraint to.
- Enable editing in the Check Constraints grid at the bottom of the Edit Domain dialog box and click Add.
- In the Name field, type a name for the check constraint.
-
In the Common ID field, type an identification code for the check constraint.
You will use this common ID throughout Infor Public Sector to identify this check constraint.
- Type the statement in SQL that defines the check constraint in the Statement field.
- Type a description of the check constraint in the Description field.
-
Click Save.
Infor Public Sector assigns a key value to the check constraint and adds the check constraint to the domain. The new check constraint is displayed in the Check Constraints grid. Note that changing or deleting an existing check constraint will cause errors wherever it has already been used. If you change or delete a check constraint, you must update any references to it throughout your system.
- When you're finished adding check constraints to this domain, click Save.