Share via


RetailTransactionServiceTransactions::paySalesInvoice Method [AX 2012]

Method is used for calculating the payment for the sales invoice, create and post the payment journal.

Syntax

client server public static container paySalesInvoice(
    InvoiceId _invoiceId, 
    AmountCur _paymentAmount, 
    RetailTerminalId _terminalId, 
    RetailStoreId _storeId, 
    RetailTransactionId _transactionId)

Run On

Called

Parameters

  • _paymentAmount
    Type: AmountCur Extended Data Type
    Amount stored in LedgerJournalTrans.AmountCurDebit if _paymentAmount is less than 0; else LedgerJournalTrans.AmountCurCredit.

Return Value

Type: container
The status as a container.

See Also

Reference

RetailTransactionServiceTransactions Class