Add an expression constraint to a product configuration model

This procedure shows how you can add a new constraint expression to a product configuration model. It shows how you can mandate that corner protection must be applied to a speaker if the user has selected a front grill in metal. The procedure uses the High end speaker component in the demo company USMF.

Create an expression constraint

  1. Go to Product information management > Products > Product configuration models.
  2. In the list, find and select the desired record.
    • This example uses the high end speaker model.
  3. In the list, select the link in the selected row.
  4. Expand the Constraints section.
  5. Select Add.
  6. Select Create.
  7. In the Name field, type a value.

Enter expression

  1. Select Edit expression.
    • If you unlock the user interface in the task recording at this stage, you can use IntelliSense and the list of symbols to build the constraint expression .
  2. In the ConstraintBody field, enter 'Implies[FrontGrill=="Metal", CornerProtection] '.
    • This expression logic states: If the Front grill is metal, then the corner protection option must be selected.
  3. Select Validate.
    • The validate function runs through the constraint expression and checks for syntax errors.
  4. Select Close.
  5. Select OK.