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.
Create a ledger journal for payments against a sales order from a given store.
Syntax
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.
Remarks
Creates and initializes a Ledger Journal for payments against a given sales order, with defaults for the given store and currency.