Product model (form)
Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
Click Product information management > Common > Product builder > Product models. Select a product model. On the Action Pane, click Open.
Use this form to build the product model.
Note
This information applies only to Product builder.
Note
We recommend that you do not use this form, because it is being officially deprecated and may be removed, and may not be available in future versions of Microsoft Dynamics AX.
In the upper pane, define several types of variables. The variables are used in the product configuration user dialog, and they are also used for calculations in the modeling tree.
In the lower pane, create the modeling tree.
Tasks that use this form
Add modeling variables to a product model
Insert a node in the modeling tree
Navigating the form
The following tables provide descriptions for the controls in this form.
Tabs
Upper pane
Tab |
Description |
---|---|
Modeling variables |
Add modeling variables to a product model. Note The modeling variables must first be created in the Modeling variables form. |
System |
Create system variables. These variables are used to transfer data from the configured order line or from a parent product model. |
Simple |
Create simple variables. These variables are used in calculations and conditions. |
Data type |
Create variables for data types. These variables let you use all of the standard extended data types inMicrosoft Dynamics AX 2012. |
Table |
Create table variables. These variables let you access data from all of the standard tables in Microsoft Dynamics AX 2012. |
Class |
Create class variables. These variables let you use all of the standard classes in Microsoft Dynamics AX 2012. |
Table constraints |
The table constraint ID that is used in the product model. |
Lower pane
Tab |
Description |
---|---|
Tree |
Create the modeling tree. Note The modeling tree is built after the user clicks OK in the Product Builder configuration form. The tree can contain nodes of the following types:
|
Code |
View the compiled product model. The product model is expressed as X++ code. |
Buttons
Button |
Description |
---|---|
Outcomes |
Specify the list of outcomes for the Enumerated text calculation variables or view the list of outcomes for the Enumerated text calculation variables. This button is active only for modeling variables and calculation variables of the Enumerated text type. |
Default value |
Specify the default values for array variables. If a variable is not an array, or if all array elements have the same default value, you can use the Default field instead. |
Validation |
Attach validation rules to each modeling variable for the product model. |
User profiles |
Attach user profiles to one of the product model's modeling variables. If you attach user profiles, only users who belong to one of the selected user profiles can access the variable. Note The user profiles that you attach are enforced only in this product model. To enforce a set of user profiles for a modeling variable in all product models, open the Modeling variables form, and then click Product Builder > Setup. |
Grouping |
Create a hierarchy of variable groups that controls how the product model's modeling variables are displayed in the user dialog box. |
Test model |
Test the performance of a compiled product model. Even when no nodes have been added to the modeling tree, you can still use this button to test the user dialog that is generated by the product model's setup of modeling variables. |
Fields
Field |
Description |
---|---|
Variable group |
Select the group that the current modeling variable belongs to. This field is useful for grouping modeling variables in the user dialog. A variable that does not belong to a group is unavailable to the user. |
Select if you want the variable group printed on the product model report or not. |
|
Priority |
Indicate how the variables will be sorted when they are presented in the user dialog. |
Variable |
The type designation for the variable.
|
Array |
A selected check box indicates that the variable group is an array. An array is an indexed table that contains several values, or rows. For array variables, the Max. field specifies the number of array elements, or rows. You can set array properties for modeling variables only in the form that you open by clicking Grouping, and only for whole variable groups. |
Max. |
If the Array check box is selected, this field specifies the number of array elements, or rows. Array properties for modeling variables can be set only in the form that you open by clicking Grouping, and only for whole variable groups. |
Default |
Assign a default value to the variable. For modeling variables, you can assign item-related or customer-related default values by using the Default values form. Click Product information management > Setup > Product builder > Defaults > Default values. An item-related or customer-related default value overwrites any default value that you enter in this field. If the Array check box is selected, you can assign default values to each array element by clicking Default value. |
Inherit |
Select this check box if you want the variable's value to be inherited from a variable in the parent product model. The variable in the parent product model must have the same name as the variable that inherits the value. |
Return value |
Select this check box if you want the variable's value to be returned to a variable in the parent product model. The variable in the parent product model must have the same name as the variable that returns the value. |
Field properties |
Set the display properties of the field that contains the modeling variable. The following options are available:
|
Include in reuse |
Select this check box to include the variable when you search for configurations that you can use to build other product models. |
System variable |
Select the type of the system variable. System variables in product models provide information about the ongoing configuration of an item. A product model can contain a maximum of one system variable. The following types of system variables are available:
|
Type |
The data type of the variable. The following types are available:
|
Variable |
Type an unambiguous name for the variable. This name is used in the modeling tree. |
See also
Add modeling variable groups to a product model
About variable groups of array type
Attach user profiles to modeling variables
Testing a user dialog box for a product model
About the product modeling tree
Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).