2.8.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 column DATDUE to program DATECHECK for validation.
|
DATECHECK
|
none
|
Pass column DATDUE to program INVCHECK for validation. Also pass columns INVNUM and COMPNO.
|
INVCHECK
|
INVNUM
COMPNO
|
Pass column 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.