Share via


RetailTransactionServiceTransactions::postOrderPayment Method [AX 2012]

Method creates the journal entries in LedgerJournalTable and LedgerJournalTrans for the order payment.

Syntax

client server private static container postOrderPayment(
    AmountCur _paymentAmount, 
    SalesTable _salesTable, 
    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
Container with the status as true if the creation of record is successful; else false and appropriate string message.

See Also

Reference

RetailTransactionServiceTransactions Class