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.
Creates a new customer voucher based on a LedgerJournalTrans record, validates, and posts it.
Syntax
protected CustTrans postNewCustomerVoucher(
LedgerJournalTrans _ledgerJournalTrans,
LedgerVoucher _ledgerVoucher,
LedgerJournalType _originalJournalType)
Run On
Server
Parameters
- _ledgerJournalTrans
Type: LedgerJournalTrans Table
The LedgerJournalTrans record that is being posted.
- _ledgerVoucher
Type: LedgerVoucher Class
The ledger voucher being posted.
- _originalJournalType
Type: LedgerJournalType Enumeration
The journal type of the original journal transaction.
Return Value
Type: CustTrans Table
A newly created customer transaction record.