Expression constraint editor (form) [AX 2012]

Updated: May 17, 2011

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

Click Product information management > Common > Product configuration models. Select a product configuration model. On the Action Pane, click Edit. On the Constraints FastTab, select an expression constraint line type or create a new one. In the Expression field, use the lookup to open Expression constraint editor form.

-Or-

Click Product information management > Common > Product configuration models. Select a product configuration model. On the Action Pane, click Edit. On the Attributes FastTab, select an existing line or create a new one. In the Condition field, use the lookup to open the Expressions constraint editor.

-Or-

Click Product information management > Common > Product configuration models. Select a product configuration model. On the Action Pane, click Edit. On the BOM lines FastTab, select an existing line or create a new one. In the Condition field, use the lookup to open the Expressions constraint editor.

-Or-

Click Product information management > Common > Product configuration models. Select a product configuration model. On the Action Pane, click Edit. On the Route operations FastTab, select an existing line or create a new one. In the Condition field, use the lookup to open the Expressions constraint editor.

Use this form to create an expression constraint or a condition that will be handled by the Microsoft Solver Foundation during the product model configuration process.

ImportantImportant

Only attributes of type Boolean, text with a fixed list, and integers with a range, are used by the Microsoft Solver Foundation.

The following table provides descriptions for the controls in this form.

Button

Description

Validate

Click the Validate button to confirm there are no errors in the expression constraint.

Fields

Description

Constraint

Enter the constraint that the Microsoft Solver Foundation will use during the product model configuration process.

Condition

Enter the condition that the Microsoft Solver Foundation will use during the product model configuration process.

NoteNote

The Condition field is only available when the Expression constraint editor form is opened from the Attributes, BOM lines or the Route operations FastTabs on the Constraint-based product configuration model details form.

Expression constraints and conditions use arithmetic and Boolean operators and also functions to create the constraint or condition.

This expression uses a simple equal operator ==. For example, a bike must have the same size wheels in the front and the back.

Expression: frontWheel[size] == rearWheel[size]

In this example, frontWheel and rearWheel are the solver names of two subcomponents and size is an attribute of type integer with a fixed range.


Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).

Community Additions

Show: