RetailTransactionServiceOrders::createLedgerJournalForStore Method [AX 2012]

Create a ledger journal for payments against a sales order from a given store.

client server private static LedgerJournalTable createLedgerJournalForStore(
    SalesId _salesId, 
    CurrencyCode _currencyCode, 
    RetailStoreTable _retailStoreTable)

Run On

Called

Parameters

_salesId
Type: SalesId Extended Data Type
Sales order id the payments are for.
_currencyCode
Type: CurrencyCode Extended Data Type
Currency code of the payments.
_retailStoreTable
Type: RetailStoreTable Table
Store the payments were collected at.

Return Value

Type: LedgerJournalTable Table
Ledger Journal Table record.

Creates and initializes a Ledger Journal for payments against a given sales order, with defaults for the given store and currency.

Show: