You are here: LANSA for i User Guide > 2. Fields > 2.11 Complex Logic Rule > 2.11.1 Examples

2.11.1 Examples

These examples are provided to illustrate the use of the complex logic rule facility:

Check Required

Program Specified

Additional Parameters

Pass field DATDUE to program DATECHECK for validation.

DATECHECK

none

Pass field DATDUE to program INVCHECK for validation. Also pass fields INVNUM and COMPNO.

INVCHECK

INVNUM

COMPNO

Pass field TAXCDE to program TAXCHECK for validation. Also supply tax scale 7 as a parameter with 3 decimal positions.

TAXCHECK

      7.000

or +7.000

or 07.000