# Assigning Variables

Objectives
After completing this lesson, you will be able to:

After completing this lesson, you will be able to:

• Assign rule elements to variables in a compensation plan

## Assigning variables

Now that we have created our compensation plan rules, we are almost done! Before we are finished, we need to assign the variables we used in our rules.

Now that we have created the compensation plan and rules, the last step is to assign any variables we used in the rules to their respective position assignments. Assigning the variables to their respective territories and fixed values provides the rule with the information it needs to assign actual values for each position assignment.

If the plan assigned to the title includes rules with one or more variables, those variables are displayed in the Variables Assignment area of the plan.

You can assign default values to variables at four different levels:

• The Variable level, by assigning a default to the variable
• The plan level
• The title level
• The position level

It’s possible to assign a variable on multiple levels. For example, a fixed value variable may be assigned to one fixed value for all Sales Representatives (title level), but a second fixed value for the Sales Representative – Central (position level). If this is the case, the priority goes first to the position, then the title, followed by the plan, and finally the default.

## Exercise: Assign Variables

Now that you have created our compensation plan rules, we are almost done but before you finish, you need to assign the variables used in rules.

### Steps

1. Assign the T_Americas territory to Position SR-C1 (Sales Rep Central)

1. Click Assignments.

2. Select the View Variable assigned by button to open a dropdown list.

3. Select Position.

4. Select SR-E1.

5. Select Edit

Note

The image shows that the Rate Table Variable and the Territory Variable are in use. The Rate Table Variable does not have to be assigned, because the correct rate table is already set as the default.

6. Enter T_ in the Territory box and press Enter .

7. Select T_Americas.

8. Select Save.

2. Assign the T_EMEA territory to Position SR-EMEA1 (Sales Rep Europe)

1. Select the View Variable assigned by button to open a dropdown list.

2. Select Position.

3. Select the View Variable assigned by button to open a dropdown list.

4. Select SR-EMEA1.

5. Select Edit.

6. Select Territory.

7. Enter T_ in the Territory box and press Enter.

8. Select T_EMEA.

9. Select T_EMEA.

10. Select Save.