RetailTransactionService::paySalesInvoice Method [AX 2012]
Processes the payment for a sales invoice.
client server public static container paySalesInvoice(
InvoiceId _invoiceId,
AmountCur _paymentAmount,
RetailTerminalId _terminalId,
RetailStoreId _storeId,
RetailTransactionId _transactionId)
Run On
CalledParameters
- _invoiceId
- Type: InvoiceId Extended Data Type
The value of the Invoice field.
- _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.
- _terminalId
- Type: RetailTerminalId Extended Data Type
The value of the TerminalId field.
- _storeId
- Type: RetailStoreId Extended Data Type
The RetailStoreId value.
- _transactionId
- Type: RetailTransactionId Extended Data Type
The RetailTransactionId value.
Show: