LedgerJournalTrans::checkVoucherNotUsed_CN Method

Checks if the voucher is used or not.

Syntax

server public static boolean checkVoucherNotUsed_CN(LedgerJournalTrans _ledgerJournalTrans, [boolean includeCurrentJournal])

Run On

Server

Parameters

  • includeCurrentJournal
    Type: boolean
    If true, the check will include the current journal.

Return Value

Type: boolean
Returns true if the voucher is not used.

See Also

Reference

LedgerJournalTrans Table