RetailTransactionService::paySalesOrder Method [AX 2012]

Processes the payment for a sales order.

client server public static container paySalesOrder(
    SalesId _salesId, 
    AmountCur _paymentAmount, 
    RetailTerminalId _terminalId, 
    RetailStoreId _storeId, 
    RetailTransactionId _transactionId)

Run On

Called

Parameters

_salesId
Type: SalesId Extended Data Type
The value of the SalesId 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.

Return Value

Type: container
The status as a container.
Show: