5.4.1 Field Validation Rules and Triggers

LANSA allows you to define validations to enforce business rules in the Repository at both field and file level. If more than one validation is created at file level, you control the order of these validation rules using a sequence number.

File level validations are performed after field level validations. The sequence of the validations is important.

Using LANSA's database triggers allow you to further reduce development time by centralizing your application code. (You need a LANSA for i DEV license to use LANSA's triggers.)

For details on performing specific tasks related to the validation rules and triggers, it is necessary to review the descriptions of both field and file rules and triggers. Refer to these topics in the LANSA for i User Guide:

  • Field Rules/Triggers in Fields
  • File Level Rules/Triggers in Files.