ReasonFormTable::reasonCodeLookupMultipleAccounts Method [AX 2012]
Displays a filtered version of the Reasons lookup form to the user based on the AccountType and OffsetAccountType parameters.
client server public static void reasonCodeLookupMultipleAccounts(
FormControl _formControl,
LedgerJournalACType _offsetAccountType,
LedgerJournalACType _accountMainType,
[boolean _useMainAccount,
boolean _useOffsetAccount,
LedgerJournalACType _accountType,
boolean _useAccountType])
Run On
CalledParameters
- _formControl
- Type: FormControl Class
The form control on which the lookup will be performed.
- _offsetAccountType
- Type: LedgerJournalACType Enumeration
The value of the offset account type selected on the calling form.
- _accountMainType
- Type: LedgerJournalACType Enumeration
The value of the main account type selected on the calling form.
- _useMainAccount
- Type: boolean
true when an account number value has been entered on the calling form; otherwise, false. optional.
- _useOffsetAccount
- Type: boolean
true when an offset account number value has been entered on the calling form; otherwise false.
optional.
- _accountType
- Type: LedgerJournalACType Enumeration
The value of the account type selected on the calling form. optional.
- _useAccountType
- Type: boolean
true when an account number value has been entered on the calling form; otherwise false. optional.
Show: