DimensionDynamicAccountController.parmAccountTypeField Method [AX 2012]
Sets a reference to the account type field in the current data source.
Syntax
protected FieldName parmAccountTypeField([FieldName _accountTypeField, EnumName _accountTypeEnum])
Run On
Called
Parameters
- _accountTypeField
Type: FieldName Extended Data Type
The data source field name that contains the account type enumeration.
- _accountTypeEnum
Type: EnumName Extended Data Type
The type of enumeration that is in the specified field.
Return Value
Type: FieldName Extended Data Type
The data source field name that contains the account type enumeration value.
Exceptions
Exception | Condition |
---|---|
Error | A valid _accountTypeField parameter that contains the account type that indicates that the controller type to display was not specified. Only the parmAccountTypeField or parmAccountTypeDialogField methods can be called, depending on the usage on a form or dialog box. |