The base product makes use of common logic that evaluates basic mathematical expressions. This logic can be used to compute values that form part of the calculation or to evaluate conditions to determine whether to apply calculation rules.
The following topics highlight some of the available features for expressions. Other mathematical operators and functions are supported but these are not normally used for standard revenue calculations or simple conditions.
Variable identifiers must be a character between a-z. Variable identifiers are case sensitive.
The following types of expression operators are supported.
x = a + b + c where the value of x should equal the sum of the values a, b and c
x = a * r where r is a rate factor variable
x > a where the value of x should be greater than the value of a
x != 0 where x must have a non-zero value
x = (a + b) / c where the value of x should be equal to the result of adding values a and b then dividing by the value of c
The following examples show the use of the most common supported functions:
The system provides a base calculation rule BO and a base calculation rule eligibility criteria BO that make use of conditional expressions to support a wide variety of computations and eligibility rules. These BOs make use of reusable variable definitions that are mapped to standard elements in the calculation processor data area.
Refer to Common Variables for information about using common variable definitions.
Copyright © 2007, 2016, Oracle and/or its affiliates. All rights reserved. Documentation build: 2.5.2016 10:21:45 [T1_1454696505000]