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
- _ledgerJournalTrans
Type: LedgerJournalTrans Table
The ledger journal trans.
- includeCurrentJournal
Type: boolean
If true, the check will include the current journal.
Return Value
Type: boolean
Returns true if the voucher is not used.