RetailTransactionServiceOrders::createLedgerJournalTransForPayment Method [AX 2012]
Create a Ledger Journal Trans record for a payment associated with a retail sales order.
client server private static LedgerJournalTrans createLedgerJournalTransForPayment(
LedgerJournalTable _ledgerJournalTable,
SalesTable _salesTable,
CurrencyCode _currencyCode,
Voucher _voucher)
Run On
CalledParameters
- _ledgerJournalTable
- Type: LedgerJournalTable Table
Parent Ledger Journal for the payment.
- _salesTable
- Type: SalesTable Table
Sales order the payemnt is associated with.
- _currencyCode
- Type: CurrencyCode Extended Data Type
Currency of the payment.
- _voucher
- Type: Voucher Extended Data Type
Voucher for the payment.
Return Value
Type: LedgerJournalTrans TableLedger Journal Trans record initialized with defaults for retail sales order payment.
Show: