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.
Gets voucher number for new line.
Syntax
public Voucher getVoucher(LedgerJournalTrans _ledgerJournalTrans, [boolean _isDebit])
Run On
Client
Parameters
- _ledgerJournalTrans
Type: LedgerJournalTrans Table
The data of LedgerJournalTrans table.
- _isDebit
Type: boolean
A Boolean value that indicates whether to generate voucher for debit data source or credit data source.
Return Value
Type: Voucher Extended Data Type
The new voucher number if it is a new voucher; otherwise value of old voucher.