Associating a Calculation Rule with a Business Object
You can create calculation rules on concept and concept properties.
Calculation Rule on a Concept Property
The calculation rule takes concepts or concept properties as input and the calculated concept property as output.
The next step is to define the expression of the calculation rule.
Example
Creating the calculation rule
To create a calculation rule in a concept diagram (for example, the "Sales amount calculation rule"):
1. Open the relevant concept domain diagram.
2. In the object insertion bar, click the Concept property rule button and click in the diagram.
The rule creation window appears.
3. Enter the name of the rule and click Create.
Defining rule input and output objects
Here you define the rule's source objects, from which the target object's value is calculated.
To define the rule's input concept property:
In our example, draw a link from "Book price" to "Sales amount calculation rule" and a link from "Number of copies sold" to the calculation rule.
A dotted arrow appears between the rule and the source concept property.
To define the target concept property:
An arrow line appears between the two objects.
To access the definition of the calculation rule:
1. Move the cursor over the slide rule and click on the Properties button.

The ruler properties window appears on the right of the diagram.
2. In the Characteristics > Calculation rule page, enter the input and output parameters of the rule, as well as the description of the rule.
In our example: "Sales amount = Number of copies sold x Book price".
Calculation Rule on a Concept
In the same way as for a concept property, you can indicate that a concept is calculated, by associating it with a calculation rule that defines the input and output parameters, as well as the rule expression.
For a calculated concept, the rule's input objects can be concepts or concept properties. The output object is the calculated concept.
