Defining formula expressions
- Select BPA Designer > Operations > Expressions.
-
In the Document
field, select the input business document for which to define an
expression.
For accounting framework integration, the list shows transactional document registrations. For a flexible output integration, both the master data and transactional document registrations are displayed.
- 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 20 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.
-
Select the operand type. The displayed fields depend on the
selected operand type.
For Attribute argument:
- Mapping
- Select the document registration. This list is dynamic. For accounting framework integration, the list displays transactional document registrations. For a flexible output integration, both the master data and transactional document registrations are shown.
- Attribute
- Select the attribute. This list is dynamic. It displays the attributes with number data type associated to the selected document registration.
For Expression argument:- Name
- Select the expression. This list is dynamic. It displays existing formula, search template, and REST API expressions associated to the selected document. For search template expressions, only expressions returning a single result are displayed.
For argument of type Fixed Value:- Value
- Specify a fixed numeric value.
- Click Add.
-
Before adding another operand, select an operator to specify an
arithmetic operation.
Note: Use parenthesis to group operands and operators, and to specify the order of computation.
- Click Save.