Creating rule mappings
- Select BPA Designer > Rules.
- In the Mapping column, click the icon of the corresponding rule.
- Select the applicable tab for which to define the rule mapping.
-
Specify this information:
- Output Document
- Automatically populated based on the output document specified in the rule settings.
- Values for the output attributes of the parent and children components
- Specify the value that each output attribute must have. The
parent components are displayed on the upper part of the screen.
Scroll down to see the children components for each parent.
Fill up the attributes of the parent component first to properly add the values for the children. Click the More button on the appropriate attribute to display the operand type and value.
- Operand Type
- Select the value type. Possible values include:
- Attribute
- Expression
- Rule Setup
- Fixed Value
-
Specify the information for the remaining fields. The available fields depend
on the selected operand type.
- Mapping
- Select the BOD registration. This dynamic list displays the BOD registrations associated with the selected output document. This field is only available if Attribute is the selected operand type.
- Attribute
- Select the attribute. This dynamic list displays the attributes associated with the selected output document. This field is only available if Attribute is the selected operand type.
- Name
- Select the expression. This dynamic list displays any expressions associated to the selected output document and reference document. All types of expressions are displayed. This field is only available if Expression is the selected operand type.
- Value
- Specify a number, text, or date value. This field is only displayed if Fixed Value is the selected operand type.
- Value
- For accounting framework integrations, select Sender
Entity, Receiver Entity,
Receiver Location, or Receiver
Accounting Book.
Sender Entity is the source entity value specified in the rule setup page. Receiver Entity is the destination entity value specified in the rule setup page. Receiver Location is the location value specified in the rule setup page. Receiver Accounting Book is the value of the destination accounting book specified in the rule.
- For flexible output, select Sender Entity or Receiver Entity only. This field is only displayed if Rule Setup is the operand type.
- Click Add to add a new mapping entry for the selected component and create a new tab for the selected component appended with an incrementing number.
-
Specify this information:
- Name
- This field has a default value, for example, JeHead(2).
- Condition
- Specify a condition. The very first condition has a mandatory
value of If. For succeeding conditions, you may select an If, Else
If, or Else.Note: This is required for new parent components. For flexible output integrations, child components may contain conditions. For accounting framework integrations, condition is limited to the parent component. Conditions of the parent component affect its corresponding child components. Add values on the applicable attributes that will be covered by the new condition. Specify the same information on step four.
- Statement
- Specify the statement. For child components in flexible output integrations, leave this blank if a condition is not applicable.
-
Click Edit to add a condition, or edit an existing condition. Follow
the same procedure in step 7.
Note: Once a rule mapping is saved, a rule script is auto-generated. Further updates made in the rule mapping will also be applied to the rule script.
-
Click the Rule Script icon.
Click Yes to activate the rule, or click No to save, but not activate, the rule script. Either selection navigates to the rule script editor with the current values in the Rule Mapping page.
- Review the rule script. You can save the script or add new statements. See IGFC scripting language guide.
- Click Actions > Save.
- Click Yes to save the rule script and activate the rule. Click No to cancel the saving. Changes are reflected in the rule script upon saving.