Share via


DimensionDefaultingControllerBase.new Method [AX 2012]

Creates a new instance of the DimensionDefaultingController class.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          protected void new(
            SelectableDataArea _company, 
            FormRun _formRun, 
            FormGroupControl _rootContainerAsGroup, 
            FormTabPageControl _rootContainerAsTabPage, 
            boolean _showNoDefaultLabel, 
            boolean _trackValues, 
           [FieldId _enumType])

  Microsoft Dynamics AX 2012 R2 (SYS)
          protected void new(
            SelectableDataArea _company, 
            FormRun _formRun, 
            FormGroupControl _rootContainerAsGroup, 
            FormTabPageControl _rootContainerAsTabPage, 
            boolean _showNoDefaultLabel, 
            boolean _trackValues, 
           [FieldId _enumType])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          protected void new(
            SelectableDataArea _company, 
            FormRun _formRun, 
            FormControl _rootContainer, 
            boolean _showNoDefaultLabel, 
            boolean _trackValues, 
           [FieldId _enumType])

  Microsoft Dynamics AX 2012 (FPK)
          protected void new(
            SelectableDataArea _company, 
            FormRun _formRun, 
            FormControl _rootContainer, 
            boolean _showNoDefaultLabel, 
            boolean _trackValues, 
           [FieldId _enumType])

  Microsoft Dynamics AX 2012 (SYS)
          protected void new(
            SelectableDataArea _company, 
            FormRun _formRun, 
            FormControl _rootContainer, 
            boolean _showNoDefaultLabel, 
            boolean _trackValues, 
           [FieldId _enumType])

Run On

Called

Parameters

  • _formRun
    Type: FormRun Class
    The FormRun object that hosts the container that contains the added controls.
  • _rootContainerAsGroup
    Type: FormGroupControl Class
    The FormGroupControl object that contains the added controls.
  • _rootContainerAsTabPage
    Type: FormTabPageControl Class
    The FormTapPageControl object that contains the added controls.
  • _showNoDefaultLabel
    Type: boolean
    A Boolean value that indicates whether the name column associated with each value displays "No default" or blank when no value is entered.
  • _trackValues
    Type: boolean
    A Boolean value that indicates whether to display values.
  • _enumType
    Type: FieldId Extended Data Type
    The field ID of the base enumeration to link to the combo box control if enumerations are displayed.

Exceptions

Exception Condition
Error

A valid _company , _formRun , or _rootContainer parameter were not specified.

Remarks

The static construct methods should be used by consumers to create a new instance.

See Also

Reference

DimensionDefaultingControllerBase Class