Show TOC

Procedure documentationCreating a Structure Data Object Locate this document in the navigation structure

 

The result of our business rule consists of two numeric values, a number and an amount. However, we can only assign one data object as the result of a decision table. This problem can easily be solved by assigning the two data objects Set_Pricing_Factor and Set_Premium to a structure data object that has to be created. This structure data object is then added to the decision table as the result.

Procedure

  1. Create a Structure Data Object

    1. In the Object Manager panel of the application you have just created, under the Detail section, choose the Contained Objects tab.

      The Contained Objects tab page opens.

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

    3. In the Object Creation dialog box that appears, choose Structure from the Type field and enter Price_Factor_and_Premium in the Name field.

    4. Choose Create and navigate to object.

  2. Add Elements to the created Structure

    1. Under the Detail section, choose Add Existing Data Object.

    2. In the Object Query dialog box that appears, select SET_PRICING_FACTOR and SET_BASE_PREMIUM data objects.

      Note Note

      You can select multiple data objects using the Shift key.

      End of the note.
    3. Choose Select.

  3. Choose Activate and save the data object.

Result

You have created a structure data object and assigned the two result element data objects to it.