Show TOC

Procedure documentationCreating a Decision Table Locate this document in the navigation structure

Procedure

  1. Create a Decision Table

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

      The Assigned Objects tab page opens.

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

    3. In the Object Creation dialog box that appears, enter PriceFac_And_Premium_DT

      in the Name field.

    4. Enter Price Factor and Premium DT in the Text field.

    5. Choose Decision Table from the Type field.

    6. Choose Create & Navigate To Object.

      The decision table opens in the Object Manager panel.

  2. Add Context to the Decision Table

    1. Under the Detail section, under Table Settings , choose Append Column.

    2. In the list that appears, choose Select Any Other Context....

    3. In the Object Query dialog box that appears, select LEVEL_OF_COVER data object and choose Select.

    4. Similarly, add AGE as context to the decision table.

  3. Add Result to the Decision Table

    1. Choose Graphical Access (Graphical Access) next to Result Data Object.

    2. In the context menu, choose   Select Result Data Objects   More Result Data Objects  .

    3. You should see

      1. The data objects, SET_PRICING_FACTOR and SET_BASE_PREM appended to the decision table as result data objects as shown below.

        This graphic is explained in the accompanying text.

        Note Note

        The Column is result checkbox is selected for both the SET_PRICING_FACTOR and SET_BASE_PREM data objects.

        End of the note.
      2. The column headers of the decision table under Table Data section.

        This graphic is explained in the accompanying text.

        Note Note

        When you create a data object, the texts that you enter in Text fields appear as column headers in the decision table.

        End of the note.
  4. Add Values to the Decision Table

    1. Under Table Data, choose Append Line.

    2. Under Level Of Cover column, choose Graphical Access (Graphical Access).

    3. In the context menu, choose Direct Value Input.

      The data object opens.

    4. Select is equals to and enter Normal as shown below.

      This graphic is explained in the accompanying text.

    5. Choose Done

      You should see Normal under Level of Cover column in the decision table.

    6. Under Age column, choose Graphical Access (Graphical Access).

    7. In the context menu, choose Direct Value Input.

      The data object opens.

    8. Select is between and enter 0 and 29 as shown below.

      This graphic is explained in the accompanying text.

    9. Choose Done.

      You should see the range [0..29] value under Age column in the decision table.

    10. Under Set Pricing Factor column, choose Graphical Access (Graphical Access).

    11. In the context menu, choose Direct Value Input.

      The data object opens.

    12. Enter 1,0 in the Value field and choose Done.

      You should see 1 under Set Pricing Factor column.

      This graphic is explained in the accompanying text.

    13. Under Set Base Premium column, choose Graphical Access (Graphical Access).

    14. In the context menu, choose Direct Value Input.

      The data object opens.

    15. Enter 10,00 in the Value field and EUR in the Currency field.

      This graphic is explained in the accompanying text.

    16. Choose Done.

      You should see the first line of the decision table filled with the values as shown below.

      This graphic is explained in the accompanying text.

    17. Create the following table lines using the above procedure.

      Level of Cover

      Age

      Set Pricing Factor

      Set Base Premium

      Normal

      30 and 49

      1.2

      1000 EUR

      Normal

      50 and 69

      1.5

      1000 EUR

      Normal

      70 and 79

      1.9

      1000 EUR

      Normal

      is greater than 79

      2.4

      1000 EUR

      Astute

      30 and 49

      1.8

      1300 EUR

      Astute

      50 and 69

      2.25

      1400 EUR

      Astute

      70 and 79

      2.85

      1600 EUR

      Astute

      is greater than 79

      3.6

      2000 EUR

      The decision table should look like as shown below:

      This graphic is explained in the accompanying text.

  5. Save the decision table expression.