Defining date 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 displays transactional document registrations. For a flexible output integration, both the master data and transactional document 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 Date.
A Statement field is displayed containing these controls:
- Operand Types: possible values are Attribute, Fixed Value, and Today.
- Operators
- Statement Control buttons: use these buttons to navigate and perform editing functions on the statement.
-
Select the operand type. This refers to the values that will be processed to
derive a date. These are the possible values:
- Attribute
- Fixed Value (Days, Months, Quarters, Years, or Date)
- Today (Date today)
Note: The statement follows a certain sequence. The first operand is an attribute or a date value (Fixed Value of Date or Today). Next, include an arithmetic operator of addition (+) or subtraction (-). The last operand is a numeric value of number of days, months, quarters, or years (fixed numeric value). You can include two or more operands. Before adding another fixed numeric value for days, months, quarters, or years, select an arithmetic operator to specify the date equation. The statement must not end with a date. -
If you select the Attribute statement type, specify this
information. The displayed fields depend on the selected operand type.
- 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 only displays attributes with a Date data type that is associated to the selected document registration.
-
If you select the Fixed Value statement type, specify
this information. The displayed fields depend on the selected operand
type.
- Type
- Select Days, Months, Quarters, or Years to signify the number of days, months, quarters, or years example, 1, 30. Select Date to assign a specific past, present or future date.
- Value
- If Days, Months, Quarters, or Years is selected, specify a fixed numeric value. If Date is selected, specify a date or Today from the date picker tool. Today corresponds to the current system date of the IGFC instance. This value does not change with the date of processing of the input documents.
-
Click the Today button to add it to
the statement.
Note: Today’s date follows the current system date of the IGFC instance. This value changes with the date when input documents are processed.
- Click Save.