Adding an entity condition component
- 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:
- Check criteria in the selected entity
- Select the entity where the criteria applies.
The selected entity or tab is where fields and values are checked.
- Criteria Rules
- 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.
- 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 fields that you can use, see List of style BOM fields for business rules. - Close the Properties Pane, then click Save.