> >

Use this form to build the product model.

  • In the upper pane, you can define several types of variables. The variables are used in the product configuration user dialog, and also for calculations in the modeling tree.

  • In the lower pane, you can create the modeling tree.

Tasks that use this form

Navigating the form

The following tables provide descriptions for the controls in this form.

Tabs

Upper pane

Tab

Description

Add modeling variables to a product model.

Note Note

Modeling variables must have been previously created in the form.


Create system variables. These variables are used for transferring data from the configured order line or from a parent product model.

Create simple variables. These variables are used in calculations and conditions.

Create data type variables. This variable type makes it possible to use all the standard Microsoft Dynamics AX extended data types.

Create table variables. With this variable type, you can access data from all the standard Microsoft Dynamics AX tables.

Create class variables. This variable type makes it possible to use all the standard Microsoft Dynamics AX classes.

Lower pane

Tab

Description

Create the modeling tree.

Note Note

The modeling tree is executed after the user clicks OK in the form.


The tree can contain nodes of the following types:

  • – Lets the user write X++ code.

  • – Used to inquire whether a certain condition is met.

    • If it is, the operations described under the attached of the are performed.

    • If not, the operations described under the attached of the are performed.

  • – Used to inquire whether the value of a variable is equal to one of several possible outcomes. The outcomes tested for are defined under the as a set of case nodes. If the switch value is equal to the value specified in a certain , the subnodes of the are executed.

  • – Used for repeating the same operation (= the functionality defined in its subnodes) several times.

  • – Inserts a bill of materials (BOM) line in the product model's bill of materials.

  • – Inserts a route operation in the product model's route.

  • – Used to insert a default route, a bill of materials, or a route.

  • – Used to insert all the route nodes from a previously inserted default route.

  • – Used to retrieve values from one or more fields in a table.

  • – Used for calculations.

  • – Inserts an information message, a warning, or an error message.

View the compiled product model (expressed as X++ code).

Buttons

Button

Description

Outcomes

Specify the list of outcomes for the calculation variables or view the list of outcomes for the calculation variables. This button is active only for modeling variables and calculation variables of the type.

Default value

Specify default values for array variables. If the variable is not an array, or if all array elements have the same default value, you can use the field instead.

Validation

Attach validation rules to the product model's individual modeling variables.

User profiles

Attach user profiles to one of the product model's modeling variables. User access to this variable is then limited to users who belong to one of the selected user profiles.

Note Note

User profiles that are attached here will be enforced only in this specific product model. To enforce a set of user profiles for a modeling variable in all product models, open the form under > .


Grouping

Create a hierarchy of variable groups that controls how the product model's modeling variables are displayed in the user dialog.

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

Select the group the current modeling variable will belong to. This field is useful for grouping modeling variables in the user dialog.

A variable that is not in a group is unavailable to the user.

Indicate how the variables will be sorted when they are presented in the user dialog.

The type designation for the variable:

  • For modeling variables, this is the name of one of the global modeling variables defined in the form (under > ).

  • For variables, the name refers to the list of Microsoft Dynamics AX data types.

  • For variables, the name refers to the list of Microsoft Dynamics AX tables.

  • For variables, the name refers to the list of Microsoft Dynamics AX classes.

If this check box is selected, the variable group is an array, that is, an indexed table that contains several values (rows).

For array variables, the field contains the number of array elements, that is, rows.

Array properties for modeling variables can be set only in the form that opens when the button is clicked, and only for whole variable groups.

If the current variable group is an array, that is, if the field is selected, this field contains the number of array elements (rows).

Array properties for modeling variables can be set only in the form that opens when the button is clicked, and only for whole variable groups.

Assign a default value to the variable.

For modeling variables, item-related or customer-related default values can also be assigned by using the form ( > > ). Whenever a default value from this table becomes applicable, it will overwrite any default values entered here.

If the variable is an array, that is, if the field is selected, you can assign default values to each array element by clicking .

Select this check box if you want the variable's value to be inherited from a parent product model.

The variable from which the value is inherited (in the parent product model) must have the same variable name as the variable (in this product model) that inherits the value.

Select this check box if you want the variable's value to be returned to a parent product model.

The variable to which the value is returned (in the parent product model) must have the same variable name as the variable (in this product model) that returns the value.

Display properties of the field. The options are:

  • – The field that contains the modeling variable will not be displayed in the user dialog.

  • – The field that contains the modeling variable will be visible in the user dialog. The modeling variable cannot be modified.

  • – In the user dialog, the user will be able to select the value for the field that contains the modeling variable.

  • – In the user dialog, the user must specify the value for the field that contains the modeling variable.

Select the type of the system variable.

System variables are used in product models to obtain information about an ongoing item configuration. A product model can contain a maximum of one system variable of the following types:

  • – Useful for the transfer of values between a parent product model and its dependent child model, or submodel. Typically, this is the only system variable type that you should write anything into.

  • – Contains a copy of the field for the bill of materials that is being generated.

  • – Contains a copy of the field for the route that is being generated.

  • – Contains a copy of the field from the order line that is being configured.

  • – Contains a copy of the field from the order line that is being configured.

  • – Contains a copy of the field from the order line that is being configured.

  • – Contains a copy of the field from the order line that is being configured.

The data type of the variable. Select one of the following types:

  • – For variables that contain any form of text—characters, words, and so on.

  • – For variables that contain whole numbers.

  • – For decimal numbers.

  • – For fixed-text variables. Fixed-text outcomescan be assigned to variables of this type by clicking .

Type an unambiguous name for the variable that is used in the modeling tree.

See Also