Share via


RetailTransactionServiceTransactions::postInvoicePayment Method [AX 2012]

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

Syntax

client server private static container postInvoicePayment(
    AmountCur _paymentAmount, 
    CustAccount _custAccount, 
    InvoiceId _invoiceId, 
    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