Defining the rule set for the event profile
Note: You must take care to enter
each Decision Columns value in the correct column to set the rule actions correctly.
- Select Rule Sets (RST) in SunSystems.
- Select the new event profile code you defined in the steps above.
- Enter a new rule set code, click OK and create a new rule set for the event profile.
- Enter a description for the rule set and click OK.
- Click Detail to display the rule set details.
- Click Create.
-
Enter the following details to define the conditions that identify the gross
accounts. Remember to press Enter or click OK after each individual field.
These conditions apply to decision column 1. The action that is carried out for this decision column i.e. to set the tax indicator to Gross, is defined later in step 10 (i).Note: The account codes referenced in the following steps relate to the PK1 demonstration business unit. You will need to adapt these steps to identify the gross, net and tax accounts in your chart of accounts.
-
Identify the first gross account code in the range and click Create:
Command Value 1 Operator Value 2 Decision Columns Select If. Select Account Code from the Interface Table option on the Function Data hierarchy. Note: You could select this field, or another field from the Ledger Entry Journal Line Details table.Select >=. Enter 64000 Enter Y in the first decision column. -
Identify the last gross account code in the range and click Create:
Command Value 1 Operator Value 2 Decision Columns Select If. Select Account Code from the Interface Table option on the Function Data hierarchy. Select <=. Enter 65000 Enter Y in the first decision column.
-
Identify the first gross account code in the range and click Create:
-
Enter the following details to define the conditions that identify the net
accounts. These conditions apply to decision column 2. The action that is
carried out for this decision column i.e. to set the tax indicator to Net, is
defined later in step 10 (ii).
-
Identify the first net account code in the range and click Insert, to insert
this condition before the first Set statement:
Command Value 1 Operator Value 2 Decision Columns Select If. Select Account Code from the Interface Table option on the Function Data hierarchy. Select >=. Enter 10000 Enter Y in the second decision column. -
Identify the final net account code in the range and click Insert:
Command Value 1 Operator Value 2 Decision Columns Select If. Select Account Code from the Interface Table option on the Function Data hierarchy. Select <=. Enter 19999 Enter Y in the second decision column.
-
Identify the first net account code in the range and click Insert, to insert
this condition before the first Set statement:
-
Enter the following details to define the conditions that identify for the tax
accounts. These conditions apply to decision column 3. The action that is
carried out for this decision column i.e. to set the tax indicator to Tax, is
defined later in step 10 (iii).
-
Identify the first tax account code in the range and click Insert, to insert
this condition before the first Set statement:
Command Value 1 Operator Value 2 Decision Columns Select If. Select Account Code from the Interface Table option on the Function Data hierarchy. Select >=. Enter 94000 Enter Y in the third decision column. -
Identify the final tax account code in the range and click Insert:
Command Value 1 Operator Value 2 Decision Columns Select If. Select Account Code from the Interface Table option on the Function Data hierarchy. Select <=. Enter 94999 Enter Y in the third decision column.
-
Identify the first tax account code in the range and click Insert, to insert
this condition before the first Set statement:
-
Enter the following commands to set the tax indicator correctly for the
gross/net/tax accounts. The different types of account are identified by the
decision columns identified above.
-
Enter the command to set the tax indicator for gross accounts as
follows and click Create:
Command Value 1 Value 2 Decision Columns Select Set. Select Gross/Net/Tax from the Interface Table option on the Function Data hierarchy. Select 00001 Gross. Enter X in the first decision column. -
Enter the command to set the tax indicator for net accounts as follows
and click Create:
Command Value 1 Value 2 Decision Columns Select Set. Select Gross/Net/Tax from the Interface Table option on the Function Data hierarchy. Select 00002 Net. Enter X in the second decision column. -
Enter the command to set the tax indicator for tax accounts as follows
and click Create:
Command Value 1 Value 2 Decision Columns Select Set. Select Gross/Net/Tax from the Interface Table option on the Function Data hierarchy. Select 00003 Tax. Enter X in the third decision column.
-
Enter the command to set the tax indicator for gross accounts as
follows and click Create:
- Click Exit to accept the commands and return to the rule set header details.
-
Click Exit to
leave the form.
When you have added all of the rule set commands, the grid at the bottom of the window should look like this:
Command Value 1 Rule Operator Value 2 Rule Action 1 Rule Action 2 Rule Action 3 If Account Code >= 64000 Y If Account Code <= 64999 Y If Account Code >= 10000 Y If Account Code <= 19999 Y If Account Code >= 94000 Y If Account Code <= 94999 Y Set Gross/Net/Tax Gross X Set Gross/Net/Tax Net X Set Gross/Net/Tax Tax X