Defining a split string expression
- Select Business Rule > Expressions.
-
In the Document field, select the input business document for
which to define an expression.
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.
The list of available expressions is 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 15 characters.
- Type
- Select Text.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 Split.
-
Click the desired operand type. This refers to the value that will be split.
Possible values are:
- Attribute
- Expression
- Fixed Value
-
Specify the information for the remaining fields. 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 associated to the selected BOD registration.
For argument of type Expression:- Name
- Select the desired expression. This list is dynamic. It displays the search template, text, and REST API expressions associated to the selected Document. For expressions of type search template, only expressions returning an alphanumeric single result is displayed.
For argument of type Fixed Value:- Value
- Specify a fixed numeric or text value.
-
Specify character positions that will define the range to be extracted from the
operand value.
- Start
- Specify a numeric value. This refers to the starting character from the left of the operand value.
- End
- Specify a numeric value. This refers to the ending character from the left of the operand. Alternatively, leave blank to extract string up to the end or last character of the operand value.
-
Click Add.
The statement box is populated with the split operation.
-
Click Save.
The new expression is displayed.