Using the Rule Sets Form

  1. Specify this information:
    Event Code

    Enter the event code to which this rule set applies, as defined in Event Profiles (EVP).

    Rule Code

    Enter a unique code for this rule set.

    Note:  You can define more than one rule code for an event profile. If these rule sets need to be performed in a particular sequence, you must set the rule sets accordingly.
    Description
    Enter a description for this rule set.
  2. Click Detail to specify the conditions and actions for the specified rule set, for the event profile:
    Note: You must click OK after each of the following fields to accept the choice you make.
    Command

    Select a command to operate on this rule set line. The commands available depend on the type of statement you are defining. If you are defining a condition statement, the command is either IF or OR. If you are defining an action statement, several different commands are available; for example CALCULATE, SET and DISPLAY.

    Value 1

    Enter or select a record type from the Data Dictionary Lookup window, which lists the valid record types available. Once you have selected the record type, you can choose from a list of data items associated with that record type.

    If you select a rule data set, Value 2 is set automatically to the keyword EXISTS and only the decision columns need to be defined.

    Note: To view the source of the data item selected here, click Val 1 Hierarchy History. This identifies how the data item was selected from the data dictionary hierarchy.
    Operator

    Enter an operator to be used in the rule set. Operators depend on the command used and only apply to the IF/CALCULATE conditions.

    Value 2

    Enter or select a record type from the Data Dictionary Lookup window, which lists the valid record types available. Once you have selected the record type, you can choose from a list of data items associated with that record type.

    Note:  To view the source of the data item selected for Value 2, click Val 2 Hierarchy History. This identifies how the data item was selected from the data dictionary hierarchy.
    Decision Columns
    • Decision Columns

      Enter the parameter required in the appropriate decision column, depending on the type of statement you are defining.

      For an If condition statement, the entry in a decision column identifies the result of the condition. The following options are available:

    • N- No
    • Y - Yes

    For an action statement, an X is entered in the decision column for the appropriate condition statement result.

    Note: An X is always required on an action statement, even when no conditions have been entered.
  3. Save your changes.