Defining Constraints
You can define complex constraints by combining one or more constraint clauses together using the And and Or operators. You can also use parentheses around constraint clauses to control the precedence of evaluation.
You can define a new constraint by manually constructing constraint clauses. Or you can copy existing constraints and then edit the copied constraint clauses.
To define constraints:
1. Navigate to the Constraints window.
2. In the Find Constraints window, choose the New button to define a new constraint.
To update existing constraints, select Item to find constraints assigned to models or option classes, System to find constraints assigned to configurator system types, or both. Enter other search criteria and choose the Find button.
3. Enter a name and description for the constraint.
Note: You can copy the type, message, and all constraint clauses from an existing constraint by choosing Copy Constraint from the Special menu.
4. Select the constraint type.
5. Enter the message text.
6. For each constraint you are defining, construct one or more constraint clauses.
To copy a constraint:
1. Navigate to the Constraints window.
2. In the Find Constraints window, choose the New button to define new constraints.
3. Enter a name and description for the constraint.
4. Choose Copy Constraint from the Special menu.
5. Select an existing constraint to copy the constraint type, message text, and all constraint clauses into the constraint you are now defining.
You cannot copy a constraint once you have selected a type or message text.
To construct constraint clauses:
1. Unless this is the first constraint clause for the definition, select either the And or Or operator.
2. Optionally, enable an open parenthesis "(".
Item: User-defined attributes of items or item name.
User: Additional security for Web Configurator.
Sales Order Header: Customer Name or Country Code.
Sales Order Line: Sales order line descriptive flex segments.
5. Enter an attribute for the first function to operate on.
7. Select the second function.
8. Select a second object. If the second function is Number or Character, the second object is blank.
9. Enter an attribute or a value for the second function to operate on.
10. If you entered an open parenthesis, enter a closed parenthesis ")".
11. Repeat the above steps for each constraint clause you are constructing. Each clause, except for the first, must be separated by either an And or an Or operator.
A null attribute condition exists when a constraint clause evaluates for an attribute and there are no items selected that have that attribute. For these situations, select an action to take:
Stop: evaluation is stopped for current constraint and skips to the next constraint
True: a true condition is assumed for the clause
False: a false condition is assumed for the clause
See Also
Overview of Configuration Constraints
Constraint Clauses
Constraint Types
Viewing Constraint Attribute Values