Share via


DimensionDynamicAccountController::constructForDialog Method [AX 2012]

Creates an instance of the DimensionDynamicAccountController class.

Syntax

client server public static DimensionDynamicAccountController constructForDialog(
    DialogField _dialogField, 
    DialogField _accountTypeDialogField, 
   [EnumName _accountTypeEnum])

Run On

Called

Parameters

  • _dialogField
    Type: DialogField Class
    The DialogField object that contains a value reference to a DimensionAttributeValueCombination record.
  • _accountTypeDialogField
    Type: DialogField Class
    The DialogField object that contains the account type that specifies the controller type to display.

Return Value

Type: DimensionDynamicAccountController Class
The new instance of the DimensionDynamicAccountController class.

Exceptions

Exception Condition
Error

A valid DialogField object that contains a value reference to the DimensionAttributeValueCombination record and a DialogField object that contains the account type that specifies the controller type to display were not specified.

See Also

Reference

DimensionDynamicAccountController Class