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.
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.