DialogFieldDimensionDefaultingController.initWithCombosAndValues Method [AX 2012]

Initializes an instance of the DialogFieldDimensionDefaultingController class that has a combo box control and string edit (entry) associated to each DimensionAttribute .

Syntax

public void initWithCombosAndValues(
    EnumId _enumType, 
    boolean _valuesAppearLast, 
    boolean _allowEdit, 
    RecId _editableDimensionAttributeSetId, 
    str _introGroupLabel, 
    str _comboLabel, 
   [SelectableDataArea _company])

Run On

Client

Parameters

  • _valuesAppearLast
    Type: boolean
    A Boolean value that indicates whether the value column appears before or after the combo box column.
  • _allowEdit
    Type: boolean
    A Boolean value that indicates whether the controls are editable.
  • _editableDimensionAttributeSetId
    Type: RecId Extended Data Type
    Provides a list of DimensionAttribute records that are associated with the editable controls.
  • _introGroupLabel
    Type: str
    The label to use as the introductory text above the added controls.
  • _comboLabel
    Type: str
    The label to use to identify the column of check box controls.

Exceptions

Exception Condition
Error

The _introGroupLabel, _valueLabel and _company parameters must be specified.

An _editableDimensionAttributeSetID can be specified only if the _allowEdit parameter is true.

Remarks

The _editableDimensionAttributeSetId parameter can be specified only when the _allowEdit parameter is true.

See Also

Reference

DialogFieldDimensionDefaultingController Class