2 7 5 Complex Logic Check Examples

LANSA Technical

2.7.5 Complex Logic Check 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

 

See also example Using the CALLCHECK Command for Inline Validation in the CALLCHECK Examples.

Ý 2.7 Complex Logic Check