Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
- _salesTable
Type: SalesTable Table
Table buffer of SalesTable.
- _terminalId
Type: RetailTerminalId Extended Data Type
ID of the RetailTerminalTable.TerminalId field.
- _storeId
Type: RetailStoreId Extended Data Type
RetailStoreId
- _transactionId
Type: RetailTransactionId Extended Data Type
RetailTransactionId
Return Value
Type: container
Container with the status as true if the creation of record is successful; else false and appropriate string message.