Defining Logical Criteria

When you setup an eligibility criterion, you must define two things:

  • The field to be compared
  • The comparison method

You have the following choices in respect of identifying the field to be compared:

  • You can choose one of the miscellaneous fields on the order (keep in mind that miscellaneous fields also hold the answers to any questions posed on the order).
  • You can execute an algorithm to retrieve a field value from someplace else in the system. This is a very powerful feature, but it's not terribly intuitive. We'll present a few examples later in this section to illustrate the power of this approach.

You have the following choices in respect of identifying the comparison method:

  • You can choose an operator (e.g., >, <, =, BETWEEN, IN, etc.) and a comparison value.
  • You can execute an algorithm whose job it will be to perform the comparison (and return TRUE, FALSE or INSUFFICIENT DATA). This is also a very powerful feature, but it's not terribly intuitive. We'll present a few examples later in this section to illustrate the power of this approach.

The Examples Of Package Eligibility Rules provide numerous examples to help you understand this design.