Add a table constraint to a component


This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

You must create table constraints before you add them to components. You can view or create table constraints on the Product configuration models list page. To do so, click Table constraints on the Action Pane. You can also set up table constraints on the Constraints FastTab in the Constraint-based product configuration model details form. To do so, click Maintain table constraints.

For more information, see Create a table constraint.

  1. Click Product information management > Common > Product configuration models.

  2. Select the product configuration model that contains the component to which you want to add a table constraint, and then, on the Action Pane, click Edit.

  3. In the Constraint-based product configuration model details form, select the component in the tree, expand the Constraints FastTab, and then click Add.

  4. In the Constraint field, select Table constraint, and then click Create.

  5. In the Name field, enter a name. Use Microsoft Solver Foundation syntax for the table constraint.

  6. In the Description field, enter a description of the constraint.

  7. In the Table constraint definition field, click the arrow.

  8. In the Table constraint attachment dialog box, in the Table constraint name field, select the table constraint to add to the component.

  9. For each attribute type in the Column name column, specify the combinations to allow by selecting the attribute in the Attribute name column.

See also

About system-defined and user-defined table constraints

Create a table constraint

About product configuration models

About reusing configurations