Show TOC

Procedure documentationCreating Value Range Expressions

 

In this step, we define the two different income ranges (low and medium) to which the different income tax formulas will be associated. The ranges will later serve as comparison parameters in a decision tree where a given gross salary will be compared against the ranges.

Note Note

It is sufficient to define only the ranges for low and medium incomes. This is because the structure of the decision tree makes it possible to implicitly define the high income range as the negative branch for the tests against the two other ranges. The decision tree will then illustrate the simple logical thought that if a given income is neither low nor medium, it can only be high.

End of the note.

Procedure

  1. In the Object Manager panel, under Detail section, choose Contained Objects tab.

    The Contained Objects tab page opens.

  2. Choose Expression from the Type field and choose Create Object.

  3. In the Object Creation dialog box that appears, choose Value Range in the Type field.

  4. Enter Gross_Salary_is_low in the Name field and choose Create and navigate to object button.

    The value range expression appears in the Object Manager panel.

  5. Define the incoming parameter by choosing (Graphical Access).

  6. In the context menu, choose Other Context Parameter....

  7. In the Context Query dialog box that appears, select the GROSS_SALARY data object.

    The data object is added as the incoming parameter for the value range expression.

  8. Enter values for the incoming parameter.

    • Choose is less than as the range, enter 25000 as the amount and choose EUR as the currency.

  9. Save the value range expression.

Create the following value range expression using the above procedure.

Name of the Value Range Expression

Incoming Parameter

Values

Gross_Salary_is_Medium

Choose Gross_Salary data object.

Choose value range as is less than

Amount 100000 and EUR as the currency.