Share via


LedgerJournalTransUpdateCust.postNewCustomerVoucher Method [AX 2012]

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

Return Value

Type: CustTrans Table
A newly created customer transaction record.

See Also

Reference

LedgerJournalTransUpdateCust Class