MainAccount::lookupMainAccountByTypes Method
Provides form lookup functionality for the MainAccount table lookups that filter by account type.
Syntax
client public static MainAccount lookupMainAccountByTypes(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 selected in the lookup.
Remarks
The specified set must be composed of values that represent the DimensionLedgerAccountType enumeration values.