Common Elements

Several of the base product calculation rules use similar elements to govern how a calculation line affects a specific calculation. These elements are defined in data areas to allow reuse across rules.

The Calculation Rule Print Details DA incorporates the following elements:

The Calculation Rule Rounding and Precision DA incorporates the following elements:

The Calculation Rule Member Category List DA maps the member calculation line category type and value collection of a calculation rule. Most rules will incorporate this configuration as a means of categorizing the resulting lines.

The Calculation Rule Target Category List DA maps the target calculation line category type and value collection of a calculation rule. Rules whose processing logic is dependent on the results of other calculation rules will incorporate this configuration as a means of identifying the required lines.

There are a number of other common elements that are common to rules configuration that are not defined in data areas, as follows:

Note: The distribution code associated with the calculation line may be overridden by the distribution code configured on the factor used to compute the line value.

Refer to Factors And Distribution Codes for more information on assigning distribution codes to specific factor values.

The base product includes common processing logic to validate these configuration elements and to utilize them in rule processing. Refer to the base product calculation rules for examples.