Share via


RetailTransactionService::paySalesInvoice Method [AX 2012]

Processes the payment for a sales invoice.

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
    The value of the AmountCurDebit field of a LedgerJournalTrans record if the _paymentAmount parameter is less than 0; otherwise, the AmountCurCredit value of the LedgerJournalTrans record.

Return Value

Type: container
The status as a container.

See Also

Reference

RetailTransactionService Class