MainAccount::resolveMainAccountByTypes Method
Ensures that an appropriate record has been entered for the MainAccount table lookups that filter by an account type.
Syntax
client public static MainAccount resolveMainAccountByTypes(FormReferenceControl _formReferenceControl, Set _accountTypeSet)
Run On
Client
Parameters
- _formReferenceControl
Type: FormReferenceControl Class
The form reference control for the lookup control.
- _accountTypeSet
Type: Set Class
A set of the DimensionLedgerAccountType enumeration values.
Return Value
Type: MainAccount Table
The MainAccount record that is entered in the lookup.
Remarks
The set that is passed into the method must be composed of enumeration values that represent the DimensionLedgerAccountType enumeration values.