Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Displays a filtered version of the Reasons lookup form to the user based on the AccountType and OffsetAccountType parameters.
Syntax
client server public static void reasonCodeLookup(
FormControl _formControl,
LedgerJournalACType _offsetAccountType,
LedgerJournalACType _accountMainType,
[boolean _useMainAccount,
boolean _useOffsetAccount,
LedgerJournalACType _accountType,
boolean _useAccountType])
Run On
Called
Parameters
- _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.
Remarks
This method is called when the user opens the reason code lookup form.