Defining expressions of type formula
- Select Business Rule > Expressions.
-
In the Document field, select the input business document for
which to define an expression.
The list of available expressions is displayed.
For accounting framework integration, the list displays transactional BOD registrations. For a flexible output integration, both the master data and transactional BOD registrations are shown.
- Click Add.
-
Specify this information:
- Name
- Specify a unique name that identifies the expression. Valid characters are a–z, A–Z, and 0–9. The first character should be an uppercase letter. The maximum length is 15 characters.
- Type
- Select Formula.Note: A Statement field is displayed containing these controls:
- Operand Types - possible values are Attribute, Expressions and Fixed Value.
- Operators
- Statement Control buttons - use these buttons to navigate and perform editing functions on the statement.
-
Click the desired operand type. The displayed fields depend on
the selected operand type.
For argument of type Attribute:
- Mapping
- Select the desired BOD registration. This list is dynamic. For accounting framework integration, the list displays transactional BOD registrations. For a flexible output integration, both the master data and transactional BOD registrations are shown.
- Attribute
- Select the desired attribute. This list is dynamic. It displays the attributes with number data type associated to the selected BOD registration.
For argument of type Expression:- Name
- Select the desired expression. This list is dynamic. It displays existing formula, search template and REST API expressions associated to the selected document. For expressions of type search template, only expressions returning a single numeric result is displayed.
For argument of type Fixed Value:- Value
- Specify a fixed numeric value.
- Click Add
-
Before adding another operand, click an operator to specify an arithmetic
operation. to include the operand in
the expression.
Note: Use parenthesis to group operands and operators, and specify order of computation.
-
Click Save.
The new expression is displayed.