Share via


RetailTransactionService::paySalesOrder Method [AX 2012]

Processes the payment for a sales order.

Syntax

client server public static container paySalesOrder(
    SalesId _salesId, 
    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