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:
Print Option indicates whether to always print this calculation line, print only if the value is not zero or never to print.
Description On Bill is the text to print on a bill for this calculation line.
The Calculation Rule Rounding and Precision DA incorporates the following elements:
Rounding Method indicates whether to use a rounding method of ‘up’, ‘down’ or ‘nearest’ when rounding the resulting calculation value.
Precision is the decimal precision to which the resulting calculation value is rounded.
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:
Create Bill Line indicates whether the resulting calculation line needs to be captured on the associated bill.
Include In Total indicates whether the resulting calculation value contributes to the overall bill total. Calculation lines of this type are regarded as having a financial impact and must have an associated distribution code.
Distribution Code is the distribution code that is associated with the resulting calculation line. The logic that processes the result of the calculation will use this distribution code to record the financial effect of this calculation line.
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.
Copyright © 2007, 2016, Oracle and/or its affiliates. All rights reserved. Documentation build: 2.5.2016 10:21:45 [T1_1454696505000]