Ax2012 Enus PCF 02
Ax2012 Enus PCF 02
Ax2012 Enus PCF 02
Introduction
You can use the product configuration feature to create product configuration
models and you can use the constraints to make sure that only valid
configurations are created when the order lines are configured. You can manage
constraints without customizing code in Microsoft Dynamics® AX 2012.
The constraints are flexible for multilevel product structures with many options
to meet your configuration needs. By actively managing the configuration of
your products, you can reduce errors from items that are configured incorrectly.
At the same time, costs are reduced for rework and too much prebuilt inventory.
By building a product configuration model, errors can be reduced by providing
order entry personnel with only valid answers for each segment of the
configuration based on previous selections.
Most of the process that is required to use the product configuration feature will
be discussed in this chapter. This training will cover many topics that involve
building a product configuration model.
2-1
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
Components and attribute types must be set up before you build the product
configuration model. When the product configuration model is created, the tree
structure begins to form when subcomponents are added. Attributes, constraints,
and user requirements will be added to define the features and the limitations for
their use/inclusion. Near the end of this process, Bill of Material (BOM) lines
and route operations are defined.
As an additional option, the product configuration API can be used to extend the
functionality of the product configuration model.
• Item lookup method: There are two item lookup methods that you
can select:
o Default: Select the default method to display product
configuration items together with the other items.
o Configurable: Select the configurable method to display product
configuration items on a separate tab.
2-2
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
Components
A component is a generic element that can be assigned to a product configuration
model. After you assign a component to a product configuration model, you can
add information to the component so that it suits that particular product
configuration model. This can include information about user requirements,
attributes, constraints BOM lines, and route operations. A component can also
include other components as subcomponents.
You can use a component multiple times in a product configuration model, and
the component can be reused in multiple product configuration models.
NOTE: Cycles are not allowed. For example, if A has B as a subcomponent, then
A cannot be a subcomponent of B, or C cannot use C as a subcomponent.
For example, when you are creating a product configuration model for a home
theater system, you can create components such as a video system and audio
system. The audio system can also consist of two components such as receiver
and speakers. The receiver and speakers are known as subcomponents of the
audio system.
2-3
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
Product Types
When you create a new product definition, the type and subtype are the key fields
to define. The two fields determine the additional functions and required setup.
Configuration Definition
technology
Constraint-based When the constraint-based configuration is selected
configuration the product can be used in a product configuration
model.
Dimension-based A configuration technology that is used to create
configuration product variants by selecting values for product
dimensions. Any combination of the product
dimensions is permitted. The advantage of this
configuration is that only one product is required for
a BOM.
Predefined variant The product can be modeled based on the product's
dimensions, color, configuration, and size. This is the
only option that can be set up directly with product
variants. Any combination of the product dimensions
is allowed.
Rule-based Variants are configured by using the Product builder
configuration feature when the variants are added to transaction
lines.
2-4
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
Components Form
A component is created by using the Components form. You can access the
Components form from the following locations:
2-5
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
TIP: You can establish the association between a component and a product
configuration model on the Subcomponents FastTab in the Constraint-based
product configuration model details form. When you enter a name for the
subcomponent on this FastTab, the name of the selected component is displayed
in the Component field. You can also establish the association by selecting a
component as the root component when you create a new product configuration
model.
2-6
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
Where-used Form
You can access the Where-used form by clicking Where-used on the
Components form.
The Where-used form shows the list of product configuration models that use
the selected component.
2-7
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
Scenario
Emil is the Product Designer for Contoso Entertainment Systems. Your task it to
help Emil design a new home entertainment system. New and existing
components are used to create the home entertainment system. Four new
components must be created. You must create a component for the home
entertainment system root component. A second component must be added to
represent the light video system. The light video system will also include two
other components as subcomponents, a DVD player recorder, and an LCD TV.
Challenge Yourself!
Use the information that is provided to create the four components.
• Open the Components form from the Action Pane on the Product
configuration models list page.
• Create the four components.
Step by Step
2-8
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
2-9
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
Attribute Types
Attribute types define the values that can be assigned to the attribute. They
specify the set of data types for all attributes that are used in a product
configuration model. Attributes types are defined one time and can be reused for
any attribute in all product configuration models. You can use the following data
types in a product configuration model:
• Text: Select this type when you want to create a fixed list of values.
• Boolean: Select this type when you want to use true or false values.
• Integer: Select this type when you want to create a valid range of
fixed numeric values for the attribute type.
• Decimal: Select this type to include decimal values. Use this type to
specify a decimal number for an attribute assigned to the product
configuration model.
NOTE: You can use decimal values, text without a fixed list, and integers without
ranges in a product configuration model. However, you cannot use these data
types when you write a constraint.
NOTE: Microsoft Solver Foundation (MSF) constraint solver only supports text
with a fixed list, boolean values, and integers with ranges. Currency and
DateTime data types are displayed in the list in the Type field. However, they
cannot be used in a product configuration model.
You can access the Attribute types form from the following locations:
Attribute types determine the values that can be sent to the solver.
2-10
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
IMPORTANT: Do not use the Attribute types form from Product information
management > Setup > attributes > Attribute types to create attribute types for
the product configuration models. The Solver column does not display in the
Values FastTab for an attribute type of the type Text and with the Fixed list
check box selected. In the original version, the Attribute types form that is in the
Setup menu was located in a different module.
If you create an Attribute type to represent the colors of the televisions (TV) that
you sell, select text for the type. Select the Fixed list field check box and enter
the different colors for the TV as shown in the Attribute Types Form figure.
The following list includes examples of values that might be used for the
different attribute types.
• Text: Add the list of colors that are available to select for a set of
stereo speakers.
• Boolean: Add a true or false attribute type that can apply the same
color to all stereo components, without having to select the color for
each component.
• Integer: Add a valid range of values from zero to one for the number
of televisions to include in a home entertainment system.
• Decimal: The length of the power cable for a home entertainment
system is available in meters.
2-11
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
Emil creates a new attribute type named DVDModel, and selects Text for the
type. He adds the three models that are included for the DVDModel attribute
type.
2-12
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
2-13
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
There are two perspectives on the product configuration model - the logical side
that consists of subcomponents, user requirements, attributes, and constraints,
and the physical side that consists of BOM lines and route operations.
You can create a new product configuration model by adding a new component
for the root component, or by selecting an existing component for the root
component. The root component is the top level node in the product
configuration model tree structure, and it represents the item that you will
configure on an order line. If you decide to add a new product configuration
model and select an existing root component, any modifications that you make to
the elements within the model, will be made globally. All other product
configuration models that contain the same elements are also affected.
2-14
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
For each product configuration model, you will specify the following values:
After you add the product configuration model, you will use the Constraint-
based product configuration model details form to build it.
• Attributes
• Constraints
• Subcomponents
2-15
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
• User requirements
• BOM lines
• Route operations
The tree structure for the product configuration model displays in the left pane on
the Constraint-based product configuration model details form. The root
component, components, and subcomponents display in the tree structure.
If you create a new product configuration model and select the component
HomeTheaterSystem for the root component, the same components and
corresponding subcomponents are included in the new product configuration
model. The same attributes, constraints, BOM lines, and so on, will also be
included.
2-16
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
Because of the number of options available for building the home entertainment
system and the reusability of attributes, components, and table constraints, Emil
decides to build a new product configuration model.
2-17
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
4. In the Product subtype field, select Product master from the drop-
down list box.
5. In the Product number field, type the product number
6. In the Product name field, type the product name.
7. In the Search name field, type the search name.
8. In the Product dimension group field, select a product dimension
group from the drop-down list box that has only the configuration
dimension selected.
NOTE: The Product dimension group that you select can only have the
configuration dimension activated.
2-18
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
25. Click Default order settings in the Order settings group of the
Action Pane to open the Default order settings form.
26. In the Default order type field in the Order type group, select
Production from the drop-down list box.
27. Click Close to close the Default order settings form.
28. Click Close to close the Released product details form.
2-19
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
Scenario
Emil, the Product Designer, is designing a new home entertainment system. The
system consists of several components and subcomponents. Your task is to help
Emil set up the product master with the constraint-based configuration that
represents the home entertainment system item at the root component level.
When the product master is created, you must also create the product
configuration model that will eventually contain all the remaining elements.
IMPORTANT: To complete this lab, you must first complete Lab 2.1: Add New
Components.
2-20
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
2-21
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
22. If the Manage costs FastTab is not open, click the Manage costs
FastTab. In the Cost group field, select HTSMat from the drop-
down list box.
23. Select the Use cost price by variant check box.
24. Click OK on the Warning text box.
25. Click the Manage inventory tab in the Action Pane.
26. Click Default order settings in the Order settings group of the
Action Pane to open the Default order settings form.
27. In the Default order type field in the Order type group, select
Production from the drop-down list box.
28. Click Close to close the Default order settings form.
29. Click Close to close the Released product details form.
Field Value
Name 20011
Description The model of the home entertainment system
Root component Name HomeEntertainmentSystem
• Open the New product configuration model form from the Action
Pane on the Product configuration models list page.
• Add a new product configuration model by using an existing root
component.
2-22
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
2-23
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
Subcomponents
A subcomponent is used to create a parent/child relationship between two
components. You can use subcomponents to build the structure of the product
configuration model. Because subcomponents reference existing components,
they encourage the reuse of components in multiple product configuration
models.
In the BOM line details form for a subcomponent, you can select a distinct value
for the subcomponent. Or, you can select an attribute, and the value will be
selected when the product configuration model is configured.
NOTE: You cannot select the Attribute option on the BOM line details form for
a subcomponent item number when you click BOM line details on the
Subcomponents FastTab. However, you can select the Attribute option for a
BOM line item number on the BOM line details form when you click BOM line
details on the BOM lines FastTab.
Subcomponents FastTab
You can add subcomponents to a product configuration model by using the
Subcomponents FastTab on the Constraint-based product configuration
model details form. To access the Subcomponents FastTab, open Product
information management > Common > Product configuration models. Select
the product configuration model and then click Edit in the Maintain group of the
Action Pane to open the Constraint-based product configuration model
details form. Click the Subcomponents FastTab.
2-24
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
Before you can add a subcomponent to a product configuration model, you must
first add a record for the component on the Components form. When this is
complete, you can add the subcomponent to the product configuration model in
the Subcomponents FastTab as shown in the Subcomponents FastTab figure.
2-25
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
2-26
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
2-27
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
2-28
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
Scenario
Emil, the Product Designer, is designing a new home entertainment system. The
system will consist of several components and subcomponents. Before the
subcomponents can be added to the product configuration model, the
corresponding product master items must be created. The product master items
will represent the subcomponents in the home entertainment system.
Your task is to help Emil set up the product master records with the constraint-
based configuration. After you add the product master items, help Emil to add the
subcomponents to the product configuration model with the name 20011.
IMPORTANT: To complete this lab, you must first complete Lab 2.2: Add a
Product Configuration Model with an Existing Root Component.
Use the information in this table to add the three product master items.
Field 1 2 3
Product number 20022 20024 20026
Product name, Search name Light LCD TV DVD Player
Video Recorder
System
Item model group FIFO FIFO FIFO
Item group HTS Televisio DVR
n
Inventory unit, Purchase unit, ea ea ea
Sales unit, BOM unit
2-29
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
2-30
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
23. If the Manage costs FastTab is not open, click the Manage costs
FastTab. In the Cost group field, select HTSMat from the drop-
down list box.
24. Select the Use cost price by variant check box.
25. Click the OK button on the Warning text box.
26. Click the Manage inventory tab in the Action Pane.
27. Click Default order settings in the Order settings group in the
Action Pane to open the Default order settings form.
28. In the Default order type field in the Order type group, select
Production from the drop-down list box.
29. Click Close to close the Default order settings form.
30. Click Close to close the Released product details form.
2-31
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
2-32
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
13. In the Storage dimension group field, select Con-Dim from the
drop-down list box.
14. In the Tracking dimension group field, select Con-Dim from the
drop-down list box.
15. In the Inventory unit field, select ea from the drop-down list box.
16. In the Purchase unit field, select ea from the drop-down list box.
17. In the Sales unit field, select ea from the drop-down list box.
18. In the BOM unit field, select ea from the drop-down list box.
19. Click OK to create the new item.
20. On the Released products list page, the system automatically selects
the new item 20026.
21. Click Edit in the Maintain group of the Action Pane to open the
Release product details form.
22. If the Engineer FastTab is not open, click the Engineer FastTab. In
the Calculation group field, select HTSMC1 from the drop-down
list box.
23. If the Manage costs FastTab is not open, click the Manage costs
FastTab. In the Cost group field, select HTSMat from the drop-
down list box.
24. Select the Use cost price by variant check box.
25. Click OK on the Warning text box.
26. Click the Manage inventory FastTab in the Action Pane.
27. Click Default order settings in the Order settings group in the
Action Pane to open the Default order settings form.
28. In the Default order type field in the Order type group, select
Production from the drop-down list box.
29. Click Close to close the Default order settings form.
30. Click Close to close the Released product details form.
2-33
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
2-34
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
2-35
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
11. In the Item number field on the BOM line details form, select
20022 from the drop-down list box.
12. If the Details FastTab is not open, click the Details FastTab.
13. In the Line type field, select Pegged supply from the drop-down list
box, located in the BOM group of the Details FastTab.
14. Select the Set check box that is left of the Calculation check box.
15. Select the Calculation check box.
16. If the Setup FastTab is not open, click the Setup FastTab on the
BOM line details form.
17. Select the Set check box that is left of the Quantity field.
18. In the Quantity field type "1.0000", located in the Consumption
calculation group.
19. In the Unit field, select ea from the drop-down list box.
20. Click OK to close the BOM line details form. In the left pane tree
structure, the Light Video System node now displays under the
HomeEntertainmentSystem node.
2-36
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
2-37
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
Attributes
Attributes describe the properties of the components. You can use attributes to
specify the features that can be selected when a distinct product variant is
configured. Each component has one or more attributes that identify its
properties. The attributes are what you will select from during the configuration
process. Examples of attributes for a home entertainment system could include
the video format for the DVR player, the size of the TV, the length of the power
cable, or the color of the speakers.
Attributes FastTab
You can add subcomponents to a product configuration model by using the
Attributes FastTab on the Constraint-based product configuration model
details form. To access the Attributes FastTab, open Product information
management > Common > Product configuration models. Select the product
configuration model and then click Edit in the Maintain group of the Action
Pane to open the Constraint-based product configuration model details form.
Click the Attributes FastTab.
You can use attributes can be used in constraints and conditions. When you
create and add attributes to a product configuration model, the attribute's attribute
types are referenced as shown in the Attributes FastTab figure.
2-38
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
• Mandatory: Select this check box if this attribute must have a value
when you configure a product.
• Condition: You can insert a condition in the form of an expression
constraint. If the Mandatory check box is selected, then you can
create a condition for the mandatory setting. Clicking the drop-down
list box opens the Expression constraint editor form, where you can
create the condition that must be fulfilled for the mandatory setting
to be enforced.
A default value can be set for an attribute. The default value is used in the
configuration user interface when the product configuration model is configured.
Attributes can be mandatory. If an attribute is mandatory, a value must be set
when the product is configured. You can also set a condition for a mandatory
attribute. If the condition is met, a value must be entered for the mandatory
attribute.
NOTE: All attributes referenced in conditions are mandatory and must have a
value in the product configuration model. You cannot save the product
configuration model if a mandatory attribute value is missing.
Expression constraints are discussed in more detail in the Constraints topic of this
chapter.
IMPORTANT: Only attributes of the type boolean, text with a fixed list, and
integers with a range are used by the MSF constraint solver.
2-39
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
The following expression uses a simple equal operation (==) to show the
relationship between the left speaker and the right speaker. Consider a stereo
system that must have the same size speakers for the left speaker and the right
speaker.
In the expression, leftSpeaker and rightSpeaker are the solver names of the two
subcomponents, and size is an attribute of the integer type with a fixed range.
The following expression uses the Or operator (Or) to determine when to use a
route operation named inspection for a home entertainment system product
configuration model.
Expression: Or[includedlcdTV,includedvdPlayer]
Emil wants to have a mandatory option to apply the same color to all components
in the product configuration model, instead of having to select the color
individually for each component when the product is configured. Emil adds an
attribute to the product configuration model that will apply the same color, by
using a boolean attribute type.
2-40
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
3. Click Edit in the Maintain group of the Action Pane to open the
Constraint-based product configuration model details form.
4. Click the root component node in the left pane.
5. Click the Attributes FastTab.
6. Click Add in the Attributes FastTab.
7. Type the name of the attribute in the Name field.
8. Type the solver name of the attribute in the Solver name field.
9. Type the description of the attribute in the Description field.
10. Select an attribute type from the drop-down list box in the Attribute
type field.
11. Do not select the Set default field check box to set a default value
for the attribute.
12. A default value does not have to be specified in the Default value
field.
13. Select the Mandatory field check box to designate the attribute that
must have a value when you configure a product.
14. A condition does not have to be specified in the Condition field.
The attribute is mandatory. Therefore, a value must be specified when the item is
configured. Emil adds a condition to the attribute so that the same color can be
applied to all components in the system.
2-41
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
10. Select the Set default field check box to set a default value for the
attribute.
11. Select a default value from the Default value field drop-down list
box.
12. Select the Mandatory field check box to designate the attribute must
have a value when you configure a product.
13. In the Condition field, click the drop-down list box to display the
Expression constraint editor form.
14. In the Expression constraint editor form, type a condition.
15. Click Validate. The system displays the Infolog form with the
message: No errors were found.
16. Click Close to close the Infolog form.
17. Click OK to close the Expression constraint editor form.
2-42
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
Scenario
Emil, the Product Designer, must add attributes to describe the features that are
available on the components and subcomponents of the home entertainment
system. Help Emil to add the attributes to the home entertainment system product
configuration model with the name 20011.
You can use the information in the following tables to add attributes to the home
entertainment system, light video system, DVD player recorder, and LCD TV.
IMPORTANT: To complete this lab, you must first complete Lab 2.3: Add
Product Masters and Add Subcomponents to a Product Configuration Model.
The Name, Solver name, and Description fields should match. Make sure that
the Solver name does not include spaces and remember that it is case-sensitive.
For consistency, use
Camel case when typing the Solver name. For example, the Solver name for
applying the same color configuration should be applySameColor.
2-43
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
2-44
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
The Name, Solver name, and Description fields should match. Make sure that
the Solver name does not include spaces and remember that it is case-sensitive.
For consistency, use Camel case when typing the Solver name. For example, the
Solver name for television quantity should be televisionQuantity.
2-45
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
2-46
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
2-47
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
15. If the Set default check box is not selected, select the Set default
check box.
16. In the Default value field, select False from the drop-down list box.
17. Select the Mandatory check box.
18. Click Add on the Attributes FastTab to add the third attribute.
19. In the Name field, type "Television quantity".
20. In the Solver name field, type "televisionQuantity".
21. In the Description field, type "Hidden attribute (Controls quantity
value of BOM line for Television)"
22. In the Attribute type field, select HTSQuantity from the drop-down
list box.
23. If the Set default check box is selected, click to clear the check box.
24. Select the Mandatory check box.
25. Click Add on the Attributes FastTab to add the fourth attribute.
26. In the Name field, type "Video recorder quantity".
27. In the Solver name field, type "videoRecorderQuantity".
28. In the Description field, type "Hidden attribute (Controls quantity
value of BOM line for Video Recorder)"
29. In the Attribute type field, select HTSQuantity from the drop-down
list box.
30. Select the Mandatory check box.
31. Click Add on the Attributes FastTab to add the fifth attribute.
32. In the Name field, type "Include lcd tv".
33. In the Solver name field, type "includelcdTV".
34. In the Description field, type "Include LCD TV".
35. In the Attribute type field, select TrueFalseDomain from the drop-
down list box.
36. Select the Mandatory check box.
37. Click Add on the Attributes FastTab to add the sixth attribute.
38. In the Name field, type "Include dvd player recorder".
39. In the Solver name field, type "includedvdPlayerRecorder".
40. In the Description field, type "Include DVD Player Recorder"
41. In the Attribute type field, select TrueFalseDomain from the drop-
down list box.
42. Select the Mandatory check box.
43. Click Add on the Attributes FastTab to add the seventh attribute.
44. In the Name field, type "Include video format".
45. In the Solver name field, type "includevideoFormat".
46. In the Description field, type "Include Video Format".
2-48
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
The Name, Solver name, and Description fields should match. Make sure that
the Solver name does not include spaces and remember that it is case-sensitive.
For consistency, use Camel case when typing the Solver name. For example, the
Solver name for including the DVD player recorder should be
includedvdPlayerRecorder.
2-49
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
1. If the DVD Player Recorder node does not display in the left pane
tree structure, click the + button that is left of the Light Video
System node to display the DVD Player Recorder node.
2. Click the DVD Player Recorder node in the left pane.
3. If the Attributes FastTab is not open, click the Attributes FastTab.
4. Click Add on the Attributes FastTab to add the first attribute.
5. In the Name field, type "Video format".
6. In the Solver name field, type "videoFormat".
7. In the Description field, type "DVR video format".
8. In the Attribute type field, select DigtialVideoFormat from the
drop-down list box.
9. If the Set default check box is not selected, select the Set default
check box.
10. In the Default value field, select HighDefinition from the drop-down
list box.
11. Select the Mandatory check box.
12. Click Add on the Attributes FastTab to add the second attribute.
13. In the Name field, type "Color".
14. In the Solver name field, type "color".
2-50
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
2-51
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
The Name, Solver name, and Description fields should match. Make sure that
the Solver name does not include spaces and remember that it is case-sensitive.
For consistency, use Camel case when typing the Solver name. For example, the
Solver name that holds the value for the TV color should be colorIDMap.
2-52
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
1. If the LCD TV node does not display in the left pane tree structure,
click the + button that is left of the Light Video System node to
display the LCD TV node.
2. Click the LCD TV node in the left pane.
2-53
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
2-54
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
36. In the Attribute type field, select TrueFalseDomain from the drop-
down list box.
37. If the Set default check box is not selected, select the Set default
check box.
38. In the Default value field, select True from the drop-down list box.
39. Select the Mandatory check box.
40. Click Add on the Attributes FastTab to add the sixth attribute.
41. In the Name field, type "Configuration".
42. In the Solver name field, type "configuration".
43. In the Description field, type "TV configuration".
44. In the Attribute type field, select TelevisionConfiguration from the
drop-down list box.
45. If the Set default check box is selected, click to clear the Set default
check box.
46. Click Add on the Attributes FastTab to add the seventh attribute.
47. In the Name field, type "Size".
48. In the Solver name field, type "size".
49. In the Description field, type "TV size".
50. In the Attribute type field, select TelevisionSize from the drop-
down list box.
51. Select the Mandatory check box.
52. In the Condition field, click the drop-down list box to display the
Expression constraint editor form.
53. In the Expression constraint editor form, type the following:
includelcdTV
54. Click Validate. The system displays the Infolog form with the
message: "No errors were found".
55. Click Close to close the Infolog form.
56. Click OK to close the Expression constraint editor form.
57. Click Validate in the Run group of the Action Pane to validate the
product configuration model. The system displays the Infolog form
with the message: No errors found.
58. Click Close to close the Infolog form.
2-55
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
• Add the attribute values for LCD TV on the BOM line details form.
o Set the Quantity field to Television quantity on the Setup
FastTab.
1. Click the Light Video System node in the left pane tree structure.
2. If the Subcomponents FastTab is not open, click the
Subcomponents FastTab.
3. Select the record in the Subcomponents FastTab for Name DVD
Player Recorder.
4. Click BOM line details in the Subcomponents FastTab to open the
BOM line details form.
5. If the Setup FastTab is not open, click the Setup FastTab on the
BOM line details form.
6. Select the Set check box that is left of the Quantity field.
2-56
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
7. Select the Attribute option button for the Quantity field, located in
the Consumption calculation group.
8. In the Quantity field, select Video recorder quantity from the drop-
down list box, located in the Consumption calculation group.
9. Click OK to close the BOM line details form.
10. Select the record in the Subcomponents FastTab for Name LCD
TV.
11. Click BOM line details in the Subcomponents FastTab to open the
BOM line details form.
12. If the Setup FastTab is not open, click the Setup FastTab on the
BOM line details form.
13. Select the Set check box that is left of the Quantity field.
14. Select the Attribute option button that is right of the Quantity field,
located in the Consumption calculation group.
15. In the Quantity field, select Television quantity from the drop-down
list box, located in the Consumption calculation group.
16. Click OK to close the BOM line details form.
17. Click the Close button to close the Constraint-based product
configuration model details form.
2-57
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
Constraints
A constraint is a restriction that a product configuration model must satisfy.
Constraints describe the restrictions of the product configuration model, and they
are used to make sure that only valid values are selected when the product
configuration model is configured. Constraints are processed by using MSF.
2-58
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
The expression constraint uses the implication operator -:. The implication
operator -: contains two parts:
The conjunction evaluates to true if all the inner expressions are satisfied. If the
whole expression is considered, an implication such as "A -: B" is satisfied if:
Because this is a constraint, and not a rule, the Solver Engine does not wait for a
change on the left side expression before it evaluates it. Instead, the Solver
Engine makes sure that it is always satisfied. In this example, if the television
attributes do not satisfy the boolean expression, then it cannot be a projection
television.
Constraints FastTab
You can add constraints to a product configuration model by using the
Constraints FastTab on the Constraint-based product configuration model
details form. To access the Constraints FastTab, open Product information
management > Common > Product configuration models. Select the product
configuration model and then click Edit in the Maintain group of the Action
Pane to open the Constraint-based product configuration model details form.
Click the Constraints FastTab.
2-59
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
2-60
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
2-61
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
2-62
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
Reserved Keywords
You cannot use reserved keywords as solver names for attributes, components, or
subcomponents in a product configuration model. This table lists the reserved
keywords that you cannot use.
Reserved keywords
Ceiling Less Max Times
Element Greater Min Slot
Equal Implies Minus Model
Floor Less Plus Decision
If Log Power Goal
Expression Constraints
Expression constraints are written as declarative constraints, and use MSF
constraint solver to solve the constraints. You must use Optimization Modeling
Language (OML) syntax when you write the constraints as shown in the
Expression Constraint Editor Form figure.
For more information about how to use OML, refer to Optimization Modeling
Language on the Microsoft Developer Network (MSDN) site.
2-63
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
2-64
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
Table Constraints
Table constraints are defined globally and can be associated with any component
in a product configuration model on the Constraints FastTab.
You can create two types of table constraints for components in a product
configuration model.
A user-defined table constraint is a type of matrix that can be used to describe the
set of combinations for the attribute values that are defined by attribute types. For
example, if televisions are produced, the matrix for the user-defined table
constraint might have columns for the TV type and TV size.
TV Type TV Size
LCD 42 inches
LCD 50 inches
Plasma 50 inches
Plasma 60 inches
Projection 50 inches
Projection 60 inches
2-65
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
TVs of the LCD type are available only in a size of 42 inches or 50 inches.
TVs of the Plasma type are available only in a size of 50 inches or 60 inches.
TVs of the Projection type are available only in a size of 50 inches or 60 inches.
The Edit Table Constraint Form figure shows the relationships on the Allowed
combinations FastTab in the Edit Table Constraint form.
2-66
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
2-67
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
32. If the Allowed combinations FastTab is not open, click the Allowed
combinations FastTab to open the FastTab.
33. If the Allowed combinations FastTab grid does not display in the
FastTab, use the mouse to drag the ellipsis down in the center of the
FastTab to display the grid.
34. Verify the system displays the valid combinations in the grid.
35. Click Close to close the Edit table constraint form.
36. Click Close to close the Table constraints form.
The result is a dynamic constraint, because the table can be changed by other
Microsoft Dynamics AX 2012 modules.
When you create a system-defined table constraint, you can select a table, define
the query to use as an option, and associate attribute types to the fields on the
selected table. The types of fields must match the types of attribute types.
However, it is not required to match such values as enumeration values and
integer ranges. The attribute type values are replaced by the values in the field
from the selected table. After you create a system-defined table constraint, you
can add the constraint to a component, and then map the attribute to the column
names in the table constraint.
2-68
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
2-69
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
2-70
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
Scenario
Help Emil to add constraints to the home entertainment system, light video
system, DVD player recorder, and LCD TV.
IMPORTANT: To complete this lab, you must first complete Lab 2.4: Add
Attributes to Components.
The first constraint states that when you select the attribute to apply the
same color to the home entertainment system, the same color will apply
to the audio system and light video system.
The second constraint states that you want to have the option to apply the
same color to the light video system.
Make sure that the Name does not include spaces and remember that it is case-
sensitive. For consistency, use Title case when typing the Name. For example,
the Name for setting the apply same color flag on the light video system should
be ConSetApplySameColor. The Table constraint definition field should be
clear for each contraint.
2-71
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
Implies[applySameColor,color==
audioSystem[color]==lightVideoSystem[color]]
____________________________________________
Implies[applySameColor,
applySameColor==lightVideoSystem[applySameColor]]
2-72
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
10. Click the Expression field and then click the drop-down to display
the Expression constraint editor form.
11. In the Constraint text area, type the following:
Implies[applySameColor,color==audioSystem[color]==lightVideoS
ystem[color]]
12. Click Validate. The system displays the Infolog form with the
following message: No errors were found.
13. Click Close to close the Infolog form.
14. Click OK to close the Expression constraint editor form.
15. Click Add on the Constraints FastTab.
16. In the Constraint field, select Expression constraint from the drop-
down list box.
17. Click Create to add a new record in the Constraints FastTab.
18. In the Name field, type "ConSetApplySameColor".
19. In the Description field, type "Apply same color flag on the light
video system".
20. Click the Expression field.
21. Click the Expression field drop-down to display the Expression
constraint editor form.
22. In the Constraint text area, type the following:
Implies[applySameColor,applySameColor==lightVideoSystem[appl
ySameColor]]
23. Click Validate. The system displays the Infolog form with the
message: No errors were found.
24. Click Close to close the Infolog form.
25. Click OK to close the Expression constraint editor form.
The first constraint states that if you select the attribute to apply the same
color to the home entertainment system, the same color will apply to the
LCD TV and the DVD player recorder.
The second constraint states that when you select to include the DVD
player recorder in the configured product, one DVD player recorder is
included. When you select not to include the DVD player recorder in the
configured product, no DVD player recorder is included.
2-73
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
The third constraint states that when you select to include the LCD TV in
the configured product, one LCD TV is included. When you select not to
include the LCD TV in the configured product, no LCD TV is included.
Make sure that the Name does not include spaces and remember that it is case-
sensitive. For consistency, use Title case when typing the Name. For example,
the Name for applying the same color configuration should be
ConApplySameColor. The Table constraint definition field should be clear for
each constraint.
Implies[applySameColor,
color ==lcdTV[color]==
dvdPlayerRecorder[color]]
__________________________________________________________
includedvdPlayerRecorder==
dvdPlayerRecorder[includedvdPlayerRecorder] &
Implies [includedvdPlayerRecorder==
True, videoRecorderQuantity ==1] &
Implies [includedvdPlayerRecorder ==
False, videoRecorderQuantity==0]
__________________________________________________________
2-74
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
includelcdTV==lcdTV[includelcdTV] &
Implies [includelcdTV==True,
televisionQuantity==1] &
Implies
[includelcdTV==False,televisionQuantity==0]
1. If the Light Video System node does not display in the left pane tree
structure, click the + button that is left of the
HomeEntertainmentSystem node to display the Light Video
System node.
2. Click the Light Video System node in the left pane.
3. If the Constraints FastTab is not open, click the Constraints
FastTab and then click Add.
4. In the Constraint field, select Expression constraint from the drop-
down list box.
5. Click Create to add a new record in the Constraints FastTab.
6. In the Name field, type "ConapplySameColor".
7. In the Description field, type "Constraint apply same color to all
components".
8. Click the Expression field and then click the drop-down list box to
display the Expression constraint editor form.
9. In the Constraint text area, type the following:
Implies[applySameColor,color==lcdTV[color]==dvdPlayerRecorder
[color]]
10. Click Validate. The system displays the Infolog form with the
message: No errors were found.
11. Click Close to close the Infolog form.
12. Click OK to close the Expression constraint editor form.
13. Click Add on the Constraints FastTab to add the second constraint.
14. In the Constraint field, select Expression constraint from the drop-
down list box.
15. Click Create to add a new record in the Constraints FastTab.
16. In the Name field, type "ConIncludedvdPlayerRecorder".
17. In the Description field, type "Constraint include DVD Player
Recorder".
18. Click the Expression field and then click the drop-down to display
the Expression constraint editor form.
19. In the Constraint text area, type the following:
includedvdPlayerRecorder==dvdPlayerRecorder[includedvdPlayerR
ecorder] & Implies [includedvdPlayerRecorder ==True,
videoRecorderQuantity ==1] & Implies [includedvdPlayerRecorder
==False, videoRecorderQuantity ==0]
2-75
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
20. Click Validate. The system displays the Infolog form with the
message: No errors were found.
21. Click Close to close the Infolog form.
22. Click OK to close the Expression constraint editor form.
23. Click Add on the Constraints FastTab to add the third constraint.
24. In the Constraint field, select Expression constraint from the drop-
down list box.
25. Click Create to add a new record in the Constraints FastTab.
26. In the Name field, type "ConIncludelcdTV".
27. In the Description field type "Constraint inclusion of lcdtv".
28. Click the Expression field and then click the drop-down to display
the Expression constraint editor form.
29. In the Constraint text area, type the following:
includelcdTV==lcdTV[includelcdTV] & Implies
[includelcdTV==True, televisionQuantity==1] & Implies
[includelcdTV==False, televisionQuantity==0]
30. Click Validate. The system displays the Infolog form with the
message: No errors were found.
31. Click Close to close the Infolog form.
32. Click OK to close the Expression constraint editor form.
The first constraint states that when you select the high definition video
format, model 04 cannot be selected. (Model 04 is not high definition).
The second constraint states that when you select the standard definition
video format, model 02 cannot be selected. (Model 02 is not standard
definition).
Make sure that the Name does not include spaces and remember that it is case-
sensitive. For consistency, use Title case when typing the Name. For example,
the Name for the high definition model (ID map) should be
ConHighDefinitionModel. The Table constraint definition field should be clear
for each constraint.
2-76
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
Implies[videoFormat=="HighDefinition",model!="M04"]
_________________________________________________________
Implies[videoFormat=="Standard"model!="M02"]
_________________________________________________________
Not[videoFormat=="wHDUpconversion"]
1. If the DVD Player Recorder node does not display in the left pane
tree structure, click the + button that is left of the Light Video
System node.
2. Click the DVD Player Recorder node in the left pane.
3. If the Constraints FastTab is not open, click the Constraints
FastTab and then click Add.
4. In the Constraint field, select Expression constraint from the drop-
down list box.
5. Click Create to add a new record in the Constraints FastTab.
6. In the Name field, type "ConHighDefinitionModel".
7. In the Description field, type "Constraint high definition model (ID
map)".
8. Click the Expression field and then click the drop-down to display
the Expression constraint editor form.
2-77
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
2-78
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
The first constraint states that when you select an LCD TV in the color
black, color 01 is selected from the color ID map. When you select an
LCD TV in the color silver, color 02 is selected from the color ID map.
Make sure that the Name does not include spaces and remember that it is case-
sensitive. For consistency, use Title case when typing the Name. For example,
the Name for the color constraint on the LCD TV should be ConColor (IDMap).
The Table constraint definition field should be TVSize for the second
constraint.
Implies[color=="Black",
colorIDMap=="01"]&
Implies[color=="Silver",
colorIDMap=="02"]
2-79
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
1. If the LCD TV node does not display in the left pane tree structure,
click the + button that is left of the Light Video System node.
2. Click the LCD TV node in the left pane.
3. If the Constraints FastTab is not open, click the Constraints
FastTab.
4. Click Add on the Constraints FastTab.
5. In the Constraint field, select Expression constraint from the drop-
down list box.
6. Click Create to add a new record in the Constraints FastTab.
7. In the Name field, type "ConColor (ID map)".
8. In the Description field, type "Constraint color (ID map)".
9. Click the Expression field and then click the drop-down to display
the Expression constraint editor form.
10. In the Constraint text area, type the following: Implies[color ==
"Black",colorIDMap == "01"] & Implies[color ==
"Silver",colorIDMap == "02"]
11. Click Validate. The system displays the Infolog form with the
message: No errors were found.
12. Click Close to close the Infolog form.
13. Click OK to close the Expression constraint editor form.
14. Click Add on the Constraints FastTab to add the second constraint.
15. In the Constraint field, select Table constraint from the drop-down
list box.
16. Click Create to add a new record in the Constraints FastTab.
17. In the Name field, type "ConSize".
18. In the Description field, type "Constraint sizing table".
19. Click the Table constraint definition field.
20. In the Table constraint definition field, click the drop-down to
display the Table constraint attachment form.
21. In the Table constraint name field, select TVSize from the drop-
down list box.
22. Select the record for TVSize in the grid.
23. Click the Attribute name field.
2-80
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
24. In the Attribute name field, select Size from the drop-down list box.
25. Select the record for TVType in the grid.
26. Click the Attribute name field.
27. In the Attribute name field, select Type from the drop-down list
box.
28. Click Close to close the Table constraint attachment form. TVSize
now displays in the Table constraint definition field.
29. Click Close to close the Constraint-based product configuration
model details form.
2-81
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
User Requirements
User requirements can also include soft requirements for a product, especially
where you are more familiar with the product than the customer.
Example:
User requirements do not have their own level in the generated BOM. They are
mapped to components. However, you cannot associate them with a product
master item. Other than that, they resemble subcomponents as shown in the User
Requirements FastTab figure.
2-82
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
When you add a user requirement to a product configuration model, you must
add attributes and BOM lines to the corresponding component to represent the
user requirement.
You might have constraints that you want to use in multiple configuration
models, or have BOMs or operations that you want to use across several models.
The BOM and route operations of user requirements are pulled up into the parent
item in a phantom BOM way. A phantom BOM is a BOM structure that is not an
item. It represents the recipe of something that you do not intend to store as a
unit.
After Emil adds the user requirement to the product configuration model, he adds
attributes for each of the three types of services so that you can select the services
when you configure the product.
Finally, Emil adds BOM lines for each of the three types of services.
When any of the services are selected during product configuration, the cost of
the services will be included in the sales price of the home entertainment system.
2-83
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
2-84
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
Scenario
Emil, the Product Designer, knows that sound quality is important to customers
when they buy a home entertainment system. There are many variables to
consider when you select the speaker type and number of speakers that will be
needed to provide high quality sound. Some variables include the following:
To address this need, Emil adds a user requirement to the product configuration
model to make sure these variables are known to provide high customer
satisfaction.
IMPORTANT: To complete this lab, you must first complete Lab 2.5: Add
Constraints to the Home Entertainment System.
Challenge Yourself!
Use the information in this table to add the user requirement to the product
configuration model.
Field Value
Name Services
Solver name services
Description Services
Component Services
2-85
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
Step by Step
2-86
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
BOM Lines
BOM lines are included in the product configuration model to identify the
manufacturing BOM for each component. A BOM line can reference an item or a
service, and all item properties can be set to a fixed value or mapped to an
attribute.
BOM lines are held together in a BOM structure that is created for the
subcomponent and the item that is represented.
Example
Two types of digital video recorders (DVR) are available for a home
entertainment system - standard definition DVRs that typically have smaller
storage available and do not include high definition programming, and high
definition DVRs.
In the product configuration model, an attribute is defined for the DVR that
specifies the types of digital video format that you can select.
• Standard definition
• Standard definition with high definition conversion
• High definition
You can write a condition for one BOM line that represents the DVR stating that
when the high definition video format is selected it will include the high
definition DVR. The DVR that the system selects item number 1606.
You can also write a similar condition for a second BOM line stating that when
the standard definition video format is selected, it will include the standard
definition DVR. The DVR that the system selects is item number1604.
2-87
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
You can use the BOM line details form to select the item that will represent the
BOM line.
2-88
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
You can also use this form to set up value assignments for BOM line fields. The
Item number field at the top of the form is used to indicate whether the value of
the selected line is determined by an item number or by an attribute as shown in
the BOM Line Details Form figure.
2-89
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
• Details FastTab: You can set the values for the Subcontractor,
BOM, Project, Valid, Operation, and Consumption group fields
based on a value or an attribute. If an attribute is selected, then you
can select the value for the attribute when you configure the product.
A value can also be selected, depending on a constraint. This
behavior is the same for all fields.
o Item number: Select the Value field option on the top of the
BOM line details form to filter by item number in the Item
number field. If you select the Attribute field option on the top
of the form, then select the attribute in the Item number field.
• Setup FastTab: You can set the values for the Consumption
calculation, Rounding-up, and Measurement group fields based on
a value or an attribute.
• Dimension FastTab: You can set the values for the Inventory
dimensions group fields based on a value or an attribute.
NOTE: The value in the Quantity field on the Setup FastTab must be greater
than zero for the BOM line to be included in the BOM during the product model
configuration process.
Also, if the Quantity field is set to zero on the Setup FastTab for a component,
the BOM and route related to the subcomponent will not be created during the
product model configuration process.
One BOM line represents a high definition LCD TV - model 02 with item 1000,
and the other BOM line is for a standard LCD TV - model 01 with item 1001.
The BOM line created to represent the high definition LCD TV - model 02, also
contains the following condition: includeTelevision & type =="LCD" &
model=="M02" as shown in the Expression Constraint Editor Form figure.
2-90
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
When the product is configured during the sales order entry and the customer
selects a high definition LCD TV instead of the standard LCD TV, item number
1000 will be used to build the product.
Emil must add a BOM line to the product configuration model for the power
cable so that it will be included with the home entertainment system when the
power cable length is selected.
2-91
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
13. Click Close to close the Infolog form message: No errors were
found.
14. Click OK on the Expression constraint editor form to close the
form.
15. Click File > Save. This is located at the upper left area of the form.
16. Click OK on the Information form to turn on the BOM line details
button in the BOM lines FastTab.
17. Click the BOM line details button to open the BOM line details
form.
18. Click the Item number field drop-down list box to display the
available items.
19. Select an item number from the drop-down list box.
20. Optionally, set and select values or attributes on the Details FastTab
on the BOM line details form.
21. Optionally, set and select values or attributes on the Setup FastTab
on the BOM line details form.
22. Optionally, set and select values or attributes on the Dimension
FastTab on the BOM line details form.
23. Click OK to close the BOM line details form.
24. Repeat steps 6 through 23 to add more BOM lines.
25. Click Close to close the Constraint-based product configuration
model details form.
2-92
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
Scenario
To build the configured product from the product configuration model, Emil, the
Product Designer, must add BOM lines to the subcomponents.
Use the information in the tables to help Emil add BOM lines to the home
entertainment system, DVD player recorder, and LCD TV.
IMPORTANT: To complete this lab, you must first complete Lab 2.6: Add User
Requirements.
The BOM line to include the power cable does not have a condition.
Make sure that you specify a Name, Description, and Item number for the
BOM line.
2-93
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
2-94
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
The first condition states to include the standard video format and model
01.
The second condition states to include the high definition video format
and model 02.
The third condition states to include the standard video format and model
04.
The fourth condition states to include the high definition video format
and model 01.
Make sure that you specify a Name, Description, and Item number for each
BOM line. Make sure that you write each condition following MSF syntax. For
example, the condition to include item 1601 should be:
2-95
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
__________________________________________________________
__________________________________________________________
1. If the DVD Player Recorder node does not display in the left pane
tree structure, click the + button that is left of the Light Video
System node.
2. Click the DVD Player Recorder node in the left pane.
3. If the BOM lines FastTab is not open, click the BOM lines FastTab
and then click Add to add the first line.
4. In the Name field, type "DVRM01".
5. In the Description field, type "Standard Digital Video Recorder
Model 01".
2-96
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
6. Click the Condition field and then click the drop-down to display
the Expression constraint editor form.
7. In the Constraint field, type the following:
includevideoFormat=="Standard" & model=="M01"
8. Click Validate. The system displays the Infolog form with the
message: No errors were found.
9. Click Close to close the Infolog form.
10. Click OK to close the Expression constraint editor form.
11. Click the BOM line details button to open the BOM line details
form.
12. In the Item number field, select 1601 from the drop-down list box.
13. If the Details FastTab is not open, click the Details FastTab.
14. Select the Set check box that is left of the Calculation check box in
the BOM group of the Details FastTab.
15. Select the Calculation check box.
16. If the Setup FastTab is not open, click the Setup FastTab.
17. Select the Set check box that is left of the Quantity field in the
Consumption calculation group of the Setup FastTab.
18. In the Quantity field, type "1.0000".
19. In the Unit field, select ea from the drop-down list box.
20. Click OK to close the BOM line details form.
21. Click Add in the BOM lines FastTab to add the second line.
22. In the Name field, type "DVRM02".
23. In the Description field, type "High-Definition Digital Video
Recorder Model 02".
24. Click the Condition field and then click the drop-down to display
the Expression constraint editor form.
25. In the Constraint field, type the following:
includevideoFormat=="HighDefinition" & model=="M02"
26. Click Validate. The system displays the Infolog form with the
message: No errors were found.
27. Click Close to close the Infolog form.
28. Click OK to close the Expression constraint editor form.
29. Click BOM line details to open the BOM line details form.
30. In the Item number field, select 1606 from the drop-down list box.
31. If the Details FastTab is not open, click the Details FastTab.
32. Select the Set check box that is left of the Calculation check box.
33. Select the Calculation check box.
34. If the Setup FastTab is not open, click the Setup FastTab.
35. Select the Set check box that is left of the Quantity field in the
Consumption calculation group on the Setup FastTab.
36. In the Quantity field, type "1.0000".
37. In the Unit field, select ea from the drop-down list box.
2-97
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
2-98
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
71. Select the Set check box that is left of the Quantity field in the
Consumption calculation group on the Setup FastTab.
72. In the Quantity field, type "1.0000".
73. In the Unit field, select ea from the drop-down list box.
74. Click OK to close the BOM line details form.
The first condition states to include the standard video format and model
02.
The second condition states to include the high definition video format
and model 01.
Make sure that you specify a Name, Description, and Item number for each
BOM line. Make sure that you write each condition following MSF syntax. For
example, the condition to include item 1000 should be
2-99
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
__________________________________________________________
1. If the LCD TV node does not display in the left pane tree structure,
click the + button that is left of the Light Video System node.
2. Click the LCD TV node in the left pane.
3. If the BOM lines FastTab is not open, click the BOM lines FastTab
and then click Add to add the first line.
4. In the Name field, type "LCD-HD Black M02".
5. In the Description field, type "LCD Television HD black model 02".
6. Click the Condition field and then click the drop-down to display
the Expression constraint editor form.
7. In the Constraint field, type the following: includelcdTV &
model=="M02"
8. Click Validate. The system displays the Infolog form with the
message: No errors were found.
9. Click Close to close the Infolog form.
10. Click OK to close the Expression constraint editor form.
11. Click BOM line details to open the BOM line details form.
12. In the Item number field, select 1000 from the drop-down list box.
13. If the Details FastTab is not open, click the Details FastTab.
14. Select the Set check box that is left of the Calculation field.
15. Select the Calculation check box.
16. If the Setup FastTab is not open, click the Setup FastTab on the
BOM line details form.
17. Select the Set check box next to the Quantity field in the
Consumption calculation group of the Setup FastTab.
18. In the Quantity field, type "1.0000".
2-100
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
19. In the Unit field, select ea from the drop-down list box.
20. Click OK to close the BOM line details form.
21. Click Add in the BOM lines FastTab to add the second line.
22. In the Name field, type "LCD-M01".
23. In the Description field, type "LCD Television Model 1".
24. Click the Condition field and then click the drop-down to open the
Expression constraint editor form.
25. In the Constraint field, type the following: includelcdTV &
model=="M01"
26. Click Validate. The system displays the Infolog form with the
message: No errors were found.
27. Click Close the close the Infolog form.
28. Click OK to close the Expression constraint editor form.
29. Click BOM line details to open the BOM line details form.
30. In the Item number field, select 1001 from the drop-down list box.
31. If the Details FastTab is not open, click the Details FastTab.
32. Select the Set check box that is left of the Calculation field.
33. Select the Calculation check box.
34. If the Setup FastTab is not open, click the Setup FastTab.
35. Select the Set check box that is left of the Quantity field in the
Consumption calculation group.
36. In the Quantity field, type "1.0000".
37. In the Unit field, select ea from the drop-down list box.
38. If the Dimension FastTab is not open, click the Dimension FastTab.
39. Next to the Configuration field, select the Attribute option button.
40. In the Configuration field, select Configuration from the drop-down
list box.
41. Next to the Size field, select the Attribute option button.
42. In the Size field, select Size from the drop-down list box.
43. Next to the Color field, select the Attribute option button.
44. In the Color field, select Color ID map from the drop-down list box.
45. Click OK to close the BOM line details form.
46. Click Validate in the Run group of the Action Pane to validate the
product configuration model. The system displays the Infolog form
with the message: No errors found.
47. Click Close to close the Infolog form.
48. Click the Close button to close the Constraint-based product
configuration model details form.
2-101
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
Route Operations
Route operations are included in product configuration models to identify the
manufacturing routes for the subcomponents. A production route in Microsoft
Dynamics AX brings is composed of a sequence of steps or operations which
defines a manufacturing process. Similar to a production BOM, a route must be
approved before it can be used, and it must also be marked as active. The
approval and activation is completed by the system, and the user does not have to
perform these manual steps.
A route can be defined and attached to more than one item exactly like an
operation can be defined and attached to more than one route. A company can
build up a library of operations that can be reused on many routes.
A route only contains operations and does not depend on BOM components. For
example, if a stereo receiver and a DVD player use the same route for inspection,
then the operations to process the BOMs are the same. However, they can
consume different times.
The definition of route operations resembles how BOM lines are defined for a
product configuration model. However, route operations are not mapped to an
item number as shown in the Route Operations FastTab figure. Instead they are
mapped to an operation.
2-102
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
You can use the Route operations details form to select and maintain the route
operation as shown in the Route Operation Details Form figure.
You can use this form to set up value assignments for route operation fields. The
Operation field at the top of the form can be used to indicate whether the value
of the selected line is determined by a selected operation or by an attribute.
2-103
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
• Details FastTab: You can set the values for the Operation group
and Route group fields based on a value or an attribute. If an
attribute is selected, then you can select the value for the attribute
during the product model configuration process. This behavior is the
same for all fields except for fields on the Resource requirements
FastTab.
• Setup FastTab: You can set the values for the Consumption
calculation group fields and Cost categories group fields based on a
value or an attribute.
• Times FastTab: You can set the values for the Times group fields
and Overlap group fields based on a value or an attribute.
• Resource requirements FastTab: Enter the resource requirements
for the operation. These requirements can include the resource type,
resource group, or the individual resource that is needed. You can
also define requirements according to the capabilities the resource
must have to perform the operation.
2-104
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
2-105
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
2-106
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
Scenario
Use the information in the tables to help Emil add the route operations to the
Home Entertainment System, Light Video System, DVD Player Recorder, and
the LCD TV.
IMPORTANT: To complete this lab, you must first complete Lab 2.7: Add BOM
Lines.
• The first route operation is to assemble the audio and video systems.
The second operation is to inspect the audio and video systems.
• The assembly and inspection operations do not have conditions.
For the following fields, the assembly and inspection route operations use the
same values on the Route operation details form, except for two fields. For the
inspection route operation, set Oper. No. = 20 and Next = 0. All fields use the
value option.
• Oper. No. = 10
• Next = 20
• Route group = 10
• Setup category = HTSSetup
• Run time category = HTSProc
• Quantity category = HTSQty
• Run time = 1.00
• Process qty. = 1.00
• Hours/time = 1.0000
2-107
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
2-108
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
3. Click Edit in the Maintain group of the Action Pane to open the
Constraint-based product configuration model details form.
4. Click the HomeEntertainmentSystem node in the left pane.
5. If the Route operations FastTab is not open, click the Route
operations FastTab and then click Add to add the first line.
6. In the Name field, type "Assembly".
7. In the Description field, type "Video and audio system assembly".
8. Click File > Save. (This is located at the upper left area of the form.)
9. Click OK on the Information form to have the Route operation
details button become active in the Route operations FastTab.
10. Click Route operation details to open the Route operation details
form.
11. In the Operation field, select Assem_HTS from the drop-down list
box.
12. If the Details FastTab is not open, click the Details FastTab.
13. In the Oper. No. field, type "10".
14. In the Next field, type "20".
15. In the Route group field, select 10 from the drop-down list box.
16. If the Setup FastTab is not open, click the Setup FastTab.
17. Select the Set check box that is left of the Setup category field in
the Cost categories group.
18. In the Setup category field, select HTSSetup from the drop-down
list box.
19. Select the Set check box that is left of the Run time category field.
20. In the Run time category field, select HTSProc from the drop-down
list box.
21. Select the Set check box that is left of the Quantity category field.
22. In the Quantity category field, select HTSQty from the drop-down
list box.
23. If the Times FastTab is not open, click the Times FastTab.
24. Select the Set check box that is left of the Run time field in the
Times group.
25. In the Run time field, type "1.00".
26. In the Process qty. field, type "1.00".
27. In the Hours/time field, type "1.0000".
28. If the Resource requirement FastTab is not open, click the
Resource requirements FastTab to open the FastTab.
29. In the Resource requirements grid, click Add.
30. In the Requirement type field, select Resource group from the drop-
down list box.
31. In the Requirement field, select 009 from the drop-down list box.
32. Click OK to close the Route operation details form.
33. Click Add in the Route operations FastTab to add the second line.
2-109
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
2-110
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
Add a condition to the route operation to include the DVD Player Recorder and
the LCD TV in the Home Entertainment System. When the condition is met, the
DVD Player Recorder and the LCD TV will go through the inspection operation.
The following fields on the Route operation details form all use the value
option.
• Oper. No. = 10
• Next = 0
• Route group = 10
• Setup category = HTSSetup
• Run time category = HTSProc
• Quantity category = HTSQty
• Run time = 1.00
• Process qty. = 1.00
• Hours/time = 1.0000
Make sure that you write the condition following MSF syntax. For example, the
condition to include the DVD Player Recorder and the LCD TV should be:
Or[includelcdTV,includedvdPlayerRecorder]
2-111
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
Or[includelcdTV,includedvdPlayerRecorder]
1. If the Light Video System node does not display in the left pane tree
structure, click the + button that is left of the
HomeEntertainmentSystem node.
2. Click the Light Video System node in the left pane.
3. If the Route operations FastTab is not open, click the Route
operations FastTab.
4. Click Add in the Route operations FastTab to add a new line.
5. In the Name field, type "Inspection".
6. In the Description field, type "Inspection".
7. Click the Condition field and then click the drop-down to display
the Expression constraint editor form.
8. In the Constraint field, type the following:
Or[includelcdTV,includedvdPlayerRecorder]
9. Click Validate. The system displays the Infolog form with the
message: No errors were found.
10. Click Close to close the Infolog form.
11. Click OK to close the Expression constraint editor form.
12. Click Route operation details in the Route operations FastTab to
open the Route operation details form.
2-112
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
13. In the Operation field, select Insp_HTS from the drop-down list
box.
14. If the Details FastTab is not open, click the Details FastTab.
15. In the Oper. No. field, type "10".
16. In the Route group field, select 10 from the drop-down list box.
17. If the Setup FastTab is not open, click the Setup FastTab.
18. Select the Set check box that is left of the Setup category field in
the Cost categories group.
19. In the Setup category field, select HTSSetup from the drop-down
list box.
20. Select the Set check box that is left of the Run time category field.
21. In the Run time category field, select HTSProc from the drop-down
list box.
22. Select the Set check box that is left of the Quantity category field.
23. In the Quantity category field, select HTSQty from the drop-down
list box.
24. If the Times FastTab is not open, click the Times FastTab.
25. Select the Set check box next to the Run time field in the Times
group.
26. In the Run time field, type "1.00".
27. In the Process qty. field, type "1.00".
28. In the Hours/time field, type "1.0000".
29. If the Resource requirements FastTab is not open, click the
Resource requirements FastTab.
30. In the Resource requirements grid, click Add.
31. In the Requirement type field, select Resource group from the drop-
down list box.
32. In the Requirement field, select 010 from the drop-down list box.
33. Click OK to close the Route operation details form.
Add a condition to the route operation to include the DVD Player Recorder in the
Home Entertainment System. When the condition is met, the DVD Player
Recorder will go through the packing operation.
The following fields on the Route operation details form all use the value
option.
• Oper. No. = 10
• Next = 0
• Route group = 10
2-113
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
Make sure that you write each condition following MSF syntax. For example, the
condition to include the DVD Player Recorder should be:
includedvdPlayerRecorder
2-114
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
includedvdPlayerRecorder
1. If the DVD Player Recorder node not does not display under the
Light Video System node in the left pane, then click the + button
that is left of the Light Video System node to display the DVD
Player Recorder node.
2. Click the DVD Player Recorder node in the left pane.
3. If the Route operations FastTab is not open, click the Route
operations FastTab.
4. Click Add to add a new line.
5. In the Name field, type "Packing".
6. In the Description field, type "Packing".
7. Click the Condition field and then click the drop-down list box to
display the Expression constraint editor form.
8. In the Constraint field, type the following:
includedvdPlayerRecorder
9. Click Validate. The system displays the Infolog form with the
message No errors were found.
10. Click Close to close the Infolog form.
11. Click OK to close the Expression constraint editor form.
12. Click the Route operation details button in the Route operations
FastTab to open the Route operation details form.
13. In the Operation field, select KtInPk_HTS from the drop-down list
box.
14. If the Details FastTab is not open, click the Details FastTab.
15. In the Oper. No. field, type "10".
16. In the Route group field, select 10 from the drop-down list box.
17. If the Setup FastTab is not open, click the Setup FastTab.
18. Select the Set check box that is left of the Setup category field in
the Cost categories group.
19. In the Setup category field, select HTSSetup from the drop-down
list box.
20. Select the Set check box that is left of the Run time category field.
2-115
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
21. In the Run time category field, select HTSProc from the drop-down
list box.
22. Select the Set check box that is left of the Quantity category field.
23. In the Quantity category field, select HTSQty from the drop-down
list box.
24. If the Times FastTab is not open, click the Times FastTab.
25. Select the Set check box next to the Run time field in the Times
group.
26. In the Run time field, type "1.00".
27. In the Process qty. field, type "1.00".
28. In the Hours/time field, type "1.0000".
29. If the Resource requirements FastTab is not open, click the
Resource requirements FastTab.
30. In the Resource requirements grid, click Add.
31. In the Requirement type field, select Resource group from the drop-
down list box.
32. In the Requirement field, select 011 from the drop-down list box.
33. Click OK to close the Route operation details form.
Add a condition to the route operation to include the LCD TV in the Home
Entertainment System. When the condition is met, the LCD TV will go through
the packing operation.
The following fields on the Route operation details form all use the value
option.
• Oper. No. = 10
• Next = 0
• Route group = 10
• Setup category = HTSSetup
• Run time category = HTSProc
• Quantity category = HTSQty
• Run time = 1.00
• Process qty. = 1.00
• Hours/time = 1.0000
Make sure that you write each condition following MSF syntax. For example, the
condition to include the LCD TV should be:
includelcdTV
2-116
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
includelcdTV
1. If the LCD TV node not does not display under the Light Video
System node in the left pane, then click the + button that is left of the
Light Video System node to display the LCD TV node.
2. Click the LCD TV node in the left pane.
3. If the Route operations FastTab is not open, click the Route
operations FastTab.
4. Click Add in the Route operations FastTab to add a new line.
2-117
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
2-118
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
2-119
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
Developers can use the APIs to extend the capabilities of a product configuration
model.
The API is implemented by using a set of PCAdaptor classes that expose the data
structure of the product configuration models. An instance of the PCAdaptor
class must be created for each product configuration model that will be extended.
When you complete a configuration session by clicking the OK button, the
system will check for an instance of the API and execute it.
The key areas of the product configuration API include the following:
2-120
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
Benefits to users for providing the product configuration API include the
following.
The API is used for interaction with many elements in the product
configuration model. This includes attributes, subcomponents, user
requirements, BOM lines, and route operations.
PCAdaptor Class
The AOT Form figure shows the key classes of the API that include the
following:
• PCAdaptor
• PCAdaptorProductConfigurationModel
• PCAdaptorComponent
• PCAdaptorSubComponent
• PCAdaptorSourceDocumentLine
2-121
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
• PCAdaptorAttribute
• PCAdaptorBOMLine
• PCAdaptorRouteOperation
2-122
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
For more information about the PCAdaptor classes and methods, refer to the
following site: http://go.microsoft.com/fwlink/?LinkId=254168. Search for
PCAdaptor Class.
Scenario
Emil, the Product Designer, wants to generate an Infolog message that shows to
the user all the attribute values that are selected from the product configuration
model when the user configures an order line.
Emil will add a new class that extends from the PCAdaptor class in the Microsoft
Dynamics AX Application Object Tree (AOT). He will have the class print a list
of the attribute values that are selected during a configuration session to an
Infolog form message.
2-123
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
Summary
You can use Product configuration to create many product variants that meet
individual customer requirements. You can achieve this by reusing a small set of
components that you can define and use in many combinations. You create a
product configuration model to represent a generic product structure. After you
have a complete product configuration model, you can create distinct product
variants that have their own unique BOMs and routes.
2-124
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
3. What are the four attribute types that can be used in a product configuration
model?
4. What are the main elements that help build a product configuration model?
2-125
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
7. What are the two main types of constraints typically used in a product
configuration model?
8. Which of the following describe user requirements? (Select all that apply)
( ) User requirements resemble subcomponents.
( ) User requirements do not have their own level in the generated BOM.
( ) You do not have to associate a user requirement with an item number.
( ) User requirements can represent the soft requirements for a product
where you know more about the product than the customer.
2-126
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
10. Which sections on the Route operation details form can you specify values or
attributes for a route operation? (Select all that apply)
( ) Details
( ) Setup
( ) Times
( ) Resource requirements
11. The product configuration API can be implemented by using which class
hierarchy?
2-127
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
1.
2.
3.
2-128
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Chapter 2: Build a Product Configuration Model
Solutions
Test Your Knowledge
1. Product configuration parameters do not control which of the following?
(•) Product configuration model node structure
( ) Configuration documentation type
( ) Default configuration ID
( ) Number sequence for constraint-based product configuration
3. What are the four attribute types that can be used in a product configuration
model?
MODEL ANSWER:
4. What are the main elements that help build a product configuration model?
MODEL ANSWER:
2-129
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement
Product Configuration in Microsoft Dynamics® AX 2012
7. What are the two main types of constraints typically used in a product
configuration model?
MODEL ANSWER:
8. Which of the following describe user requirements? (Select all that apply)
(√) User requirements resemble subcomponents.
(√) User requirements do not have their own level in the generated BOM.
(√) You do not have to associate a user requirement with an item
number.
(√) User requirements can represent the soft requirements for a product
where you know more about the product than the customer.
10. Which sections on the Route operation details form can you specify values or
attributes for a route operation? (Select all that apply)
(√) Details
(√) Setup
(√) Times
( ) Resource requirements
11. The product configuration API can be implemented by using which class
hierarchy?
MODEL ANSWER:
PCAdaptor
2-130
Microsoft Official Training Materials for Microsoft Dynamics®
Your use of this content is subject to your current services agreement