Defining expressions of type search template
- 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 Search Template.
- Source Master Data
- Select the master data or custom master data of the search template.
- Source Search Template
- Select the desired search template. This dynamic list shows the
search templates associated to the selected master data or custom
master data.Note: Upon selecting a search template, the displayed syntax lists the required search parameters.
- Source Entity
- Available only when the selected source master data is a master data business document. Select Sender Entity, Receiver Entity or the specific entity to which the master data business document is associated.
- Sender Entity represents the source entity value specified
in the rule setup page. Receiver Entity represents the destination
entity value specified in the rule setup page. Specific entities
listed are the entities registered in Master Data Setup > Entity
page.
See Registering entities.
-
Specify the arguments for each search parameter:
- Click the 'SET' hyperlink of the corresponding search parameter.
-
Select the argument type. These are the possible
values:
- Attribute
- Expression
- Fixed Value
- Rule Setup
For some expressions of applicable system-defined search templates, some of these argument types can be selected:
- Transactional Document
- Transaction Type
- Journal User Field
- Accounting Book
- Accounting Chart
- Account
- Accounting Journal
-
Specify the values for the remaining fields. The displayed fields
depend on the selected argument type.
For Attribute argument type, specify these fields:
- 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 shows the attributes associated to the selected BOD registration.
For Expression argument type, specify this field:- Name
- Select the desired expression. This list is dynamic. It displays expressions associated to all Document. For expressions of type search template, only expressions returning a single result is displayed.
For Fixed Value argument type, specify this field:- Value
- Specify a numeric or text value.
For Rule Setup argument type, specify this field:- Value
- For accounting framework
integration, select Sender Entity, Receiver Entity, Receiver
Location, or Receiver Accounting Book. For flexible output
integration, select Sender Entity or Receiver Entity.
Sender Entity represents the source entity value specified in the rule setup page. Receiver Entity represents the destination entity value specified in the rule setup page. Receiver Location represents the location value specified in the rule setup page. Receiver Accounting Book represents the value of the destination accounting book specified in the rule setup page.
For Transactional Document argument type, specify this field:- Value
- Select the transactional document.
For Transaction Type argument type, specify this field:- Value
- Select the Transaction Type used in Dimension Code Assignments.
For Journal User Field argument type, specify this information:- Value
- Select the name of the Journal User Fields set.
For Accounting Book argument type, specify this field:- Value
- Select the ID of the Accounting Book document.
For Accounting Chart argument type, specify this field:- Value
- Select the ID of the Accounting Chart document.
For Account argument type, specify this field:- Value
- Select the ID of the Chart Of Accounts document.
For Accounting Journal argument type, specify this field:- Value
- Select the ID of the Accounting Journal document.
- Click Yes to include the argument in the expression.
-
Click Save.
The new expression is displayed.