Adding an entity condition component
You can add a entity condition component for
Update or Save events. You can add multiple entity conditions. An entity condition is
used for fields and values conditions.
- In the Setup section, click the Add Business Rule Components icon.
- In the Business Rule Component pane, select Entity Condition, then click ADD.
- Click the Business Rule Components Property icon.
- Select an entity condition.
-
Specify this information:
- Active
- Click to set this rule as active. By default, this field is selected.
- Name
- This field is populated by default. Specify a name.
- Description
- This field is populated by default. Specify a description.
- Sequence
- This field is optional. Use this field to define the order of condition to be run (if you define multiple conditions).
- Apply this condition in the selected detail tab
- Select the style tab where this condition applies.
The value of this field determines which tab the business rule applies and where users get validation messages (if applicable).
- In the Criteria section, click the Add New Row icon.
-
Specify this information:
- Entity
- Select the entity where the criteria applies.
The selected entity or tab where fields and values are checked.
Select from the list whether the criteria is to match any or all of the specified rules.
-
For each row that you add, specify this information:
- Field
- Select a field from the list.
For Material Overview and Trim Overview, you can also select an Operational field type. This field is applicable for Save and Update events. In instances that the Operational field has a value equal to inactive, an abort notification is displayed.
- Operator
- Select an operator from the list.
- Value Type
- This field appears if you select Contains or Equal as Operator. Select a value type from the list.
- Value
- The value that you specify depends on the selected Value Type.
If the Value Type is Value, select from the generic lookup list. If
the Value Type is Code or Name, specify a value.
If the field is a user input field, specify a value.
Note: For a list of Style BOM and Style BOM Line fields that you can use, see List of Style BOM fields for business rules and List of Style BOM Line fields for business rules. - Select one or multiple fields from the added criteria rows.
- Close the Properties Pane, then click Save.