PrecisionValues
This business rule defines the number of digits allowed after the decimal point when displaying UnitValues. The precision can be configured based on a client's need to show the proper unit value. This rule can be used to calculate the units precision at Accumulation and Benefit level by attaching this business rule to the transactions that affect Benefit. These values are ultimately stored as units in AsValuation and AsBenefitSplit tables. If this business rule is not in place, the system reverts to its default setting of ten decimal places.
As of the 9.5.0.0 release, this business rule absorbed the UnitValuePrecision rule functionality and the UnitValuePrecision rule was deprecated.
Element | Definition | Attribute | Element/Attribute Value |
---|---|---|---|
<PrecisionValues> |
The opening and closing tags of the business rule. | ||
<PrecisionValue> |
Optional: The opening and closing tag of the section. If not configured, then the system default is followed. |
||
Required only if <PrecisionValue> sub-element is present. Identifies Precision Value type. | TYPE |
Units UnitValue |
|
<Precision> |
Required: Designates the number of decimal places of precision. |
Integer
Note: Null or non-integer values will produce a system error. |
|
Required: Precision type |
TYPE |
Calculation Display Calculation is valid only if PrecisionValue TYPE="Units". |
|
Optional: Precision method |
METHOD |
Truncate Valid only if PrecisionValue TYPE="UnitValue" and Precision TYPE="Display". |
XML Sample
<PrecisionValues>
<PrecisionValue TYPE="UnitValue">
<Precision>TYPE="Display" Method="Truncate">2</Precision>
</PrecisionValue>
<PrecisionValue TYPE="Units">
<Precision TYPE="Calculation">6</Precision>
<Precision TYPE="Display">4</Precision>
</PrecisionValue>
<PrecisionValues>