Simple and complex validation rules
You can set simple and complex validation rules.
A validation rule may be simple or complex, based on the following
criteria:
- Simple validation rules involve one or two simple conditions
- Complex validation rules are based on validation type
A simple validation rule is based on a PredefinedGreexRule, which is used in conjunction with the value of a required attribute. The value is entered as DataCapture information in Business Center. For example, entering a value of 10 in the Data Capture text box for "MaxKeyedQty" specifies the maximum keyed-in quantity as 10.
To define a more complex validation, you build a Greex condition that considers the data in the ModelTemplate.