Creating rule sets

A rule set contains a series of conditions and actions that you want to apply to the data entered for a SunSystems function. Rule sets are defined for an event profile using Rule Sets (RST).

You must define an event profile using Event Profiles (EVP) before you can define the business rules for the profile.

Note:  Before you define the rule set for an event profile you must ensure the event profile details are correct, in particular that you have chosen the correct function code. It can be difficult to change the event profile once the rules have been defined.

The following steps are required to create a rule set:

  1. Select the Rule Sets (RST) form.
  2. Enter or select the event profile code that identifies the system function and other conditions for which the new rule set is required.
  3. Enter a new rule set code.
  4. Enter a description of the rule set.
  5. Click Detail to display the Rule Sets - Details form.
  6. Click Create to add a new rule to the rule set.
  7. Enter the following fields to define the condition or action statement required: Command, Value 1, Operator, Value 2 and the appropriate Decision Columns. You must click OK after each field to move to the next field. After you have entered all of the rule details, this new rule appears in the rule set list section in the bottom part of the form.
  8. To enter another rule statement after the final statement displayed on the form, click Create and then enter the rule details.
    Note: Use the Insert command to add a new rule statement above the current statement.
  9. When you have entered all of the required rules, click Exit to return to the Rule Sets form.
  10. You can then add or maintain another rule set, or click Exit to leave the function.