Share via


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

  • _useAccountType
    Type: boolean
    A Boolean variable that indicates whether to include the account type; 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.

See Also

Reference

ReasonTable Table