PurchComplInvoicePost.createVendVoucher Method [AX 2012]

Creates a VendVoucher object to be used to post the complementary invoice.

protected VendVoucher createVendVoucher(LedgerTransTxt _ledgerTransTxt, AmountMST _totalAmount)

Run On

Server

Parameters

_ledgerTransTxt
Type: LedgerTransTxt Enumeration
LedgerTransTxt enum value to be associated with the VendVoucher.
_totalAmount
Type: AmountMST Extended Data Type
Total amount of the invoice.

Return Value

Type: VendVoucher Class
New VendVoucher object.

Community Additions

ADD
Show: