About array variable group

Important

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

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

You can use variable groups of the array type be to present a product model’s modeling variables in a grid, similar to the grids found elsewhere in Microsoft Dynamics AX 2012. Each modeling variable in the group will then be shown as a separate column in the grid.

Note

This information applies only to Product builder.

If you want to make the current variable group into an array, select the Array check box in the Variable group form that opens when you click Grouping in the Product model form. The Max. field is used to specify the number of rows in this table, that is, the number of array elements for each modeling variable in the variable group. Whenever you refer to one of the modeling variables from an array variable group, you must specify not only the name of the variable, but also the number, that is the index, of the specific array element.

When you change the values of the Array or Max. fields for a variable group, the values, you enter are automatically transferred to the corresponding fields for each modeling variable in the group. You cannot change these values separately for one modeling variable. You have to change them in the Variable group form.