Share via


DimensionDefaultingController::constructInGroupWithChecksAndValues Method [AX 2012]

Constructs an instance of the DimensionDefaultingController class that has a check box and string edit control associated with each DimensionAttribute record added to the specified FormGroupControl object.

Syntax

client public static DimensionDefaultingController constructInGroupWithChecksAndValues(
    boolean _showNoDefaultLabel, 
    boolean _showWhereUsed, 
    boolean _allowEdit, 
    RecId _editableDimensionAttributeSetId, 
    FormRun _formRun, 
    FormGroupControl _groupControlContainer, 
    str _introGroupLabel, 
    str _checkLabel, 
   [SelectableDataArea _company])

Run On

Client

Parameters

  • _showNoDefaultLabel
    Type: boolean
    A Boolean value that indicates whether the name column associated with each value displays "No default" or blank.
  • _showWhereUsed
    Type: boolean
    A Boolean value that indicates whether the where used structure pane is drawn to the right of the primary edit control pane.
  • _allowEdit
    Type: boolean
    A Boolean value that indicates whether the controls can be edited.
  • _editableDimensionAttributeSetId
    Type: RecId Extended Data Type
    The record ID of the record associated with the controls.
  • _formRun
    Type: FormRun Class
    The FormRun object of the form that hosts the container to hold the added controls.
  • _groupControlContainer
    Type: FormGroupControl Class
    The FormGroupControl object that holds the added controls.
  • _introGroupLabel
    Type: str
    The label that is used as introductory text above the added controls.
  • _checkLabel
    Type: str
    The label that is used to identify the column of check box controls.

Return Value

Type: DimensionDefaultingController Class
A new instance of the DimensionDefaultingController class that has a check box control associated with each dimension attribute.

Exceptions

Exception Condition
Error

The _formRun, _groupControlContainer, _introGroupLabel, _checkLabel, _valueLabel, and _company parameters must be specified.

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

See Also

Reference

DimensionDefaultingController Class