ReasonTable::findReasonByFilter Method
Checks whether a particular reason code is marked for account types use in the transaction.
Syntax
client server public static ReasonTable findReasonByFilter(
ReasonCode _reasonCode,
LedgerJournalACType _accountType,
boolean _useAccountType,
LedgerJournalACType _offsetAccountType,
[boolean _useOffsetAccountType])
Run On
Called
Parameters
- _reasonCode
Type: ReasonCode Extended Data Type
The reason code to find.
- _accountType
Type: LedgerJournalACType Enumeration
The main account type of the transaction.
- _useAccountType
Type: boolean
A Boolean variable that indicates whether to include the account type; optional.
- _offsetAccountType
Type: LedgerJournalACType Enumeration
The offset account type of transaction; optional.
- _useOffsetAccountType
Type: boolean
A Boolean value that indicates whether to include the offset account type; optional.
Return Value
Type: ReasonTable Table
The ReasonTable buffer.
Remarks
This is a public method that is used to find records.