Sales Configuration > Maintaining General Rules Using General Rule Tables > Generating Rule Tables
  
Generating Rule Tables
To generate a rule table, you can copy an existing rule table or create a rule table from scratch.
To generate a rule table by copying existing rule tables, click the Copy from Rule Table button, and select a rule table whose rules you want to copy. After the new rule table is generated, you can edit the table to get the rules that you need.
To create a rule table from scratch, follow the generation wizard:
1 Select variables and attributes for the IF conditional statements.

Rule Table Generation - Step 1
To select a variable into the rule table, click the variable in the Available Variables list box; then double-click the variable’s attribute you want in the Attributes list box to move the variable:attribute combination into the Selected Variables list box.
To remove a selected variable from the rule table, double-click it in the Selected Variables list box.
You can also select multiple variables and click the Select or Deselect buttons to add them into or remove them from the Selected Variables list. However, when you select multiple variables in the Available Variables list box, only common attributes shared by all the selected variables are available for selection in the Attributes list box.
To change the order of variables in the Selected Variables list box, use the Up and Down arrows above the list box.
When you have selected all the variables you want, click Next.
2 Set values for the variables for the IF conditional statements.

Rule Table Generation - Step 2
To set the value for a variable as a condition, click the variable in the Selected Variables list box and then choose the following actions:
If the variable has options, they display in the Values list box. To select an option as the value for the variable, double-click the option.
To specify a new value for the variable, click the Add Value button and enter a valid value in the Assigned Values list box.
To specify an empty value for the variable, click the Down arrow next to the Add Value button and select Add Empty Value.
The values you specify display under the variable node in the Assigned value list box.
After you finish assigning values, click Next.
3 Select variables for the THEN statements.

Rule Table Generation - Step 3
To select a variable into the rule table, click the variable in the Available Variables list box; then double-click the variable’s attribute you want in the Attributes list box to move the variable:attribute combination into the Selected Variables list box.
To remove a selected variable from the rule table, double-click it in the Selected Variables list box.
You can also select multiple variables and click the Select or Deselect buttons to add them into or remove them from the Selected Variables list. However, when you select multiple variables in the Available Variables list box, only common attributes shared by all the selected variables are available for selection in the Attributes list box.
When you have selected all the variables you want, click Next.
4 Set values for the variables for the THEN statements.

Rule Table Generation - Step 4
To assign a value to a variable in a THEN statement, click the variable in the Selected Variables list box and then choose the following actions:
If the variable has options, they display in the Values list box. To select an option as the value for the variable, double-click the option.
To specify a new value for the variable, click the Add Value button and enter a valid value in the Assigned Values list box.
To specify an empty value for the variable, click the Down arrow next to the Add Value button and select Add Empty Value.
When Delete Rows is selected, the Add All Values command is enabled. To delete all records with empty variable values, click the Down arrow next to the Add Value button and select Add All Values.
The values you specify display under the variable node in the Assigned value list box.
5 Specify a rule table behavior: add, override, or delete rows.
6 When applicable, you can select the Interpolation check box to allow interpolation in the rule table.
7 Click Finish to generate the rule table.