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.
Gets the main account for the ledger dimension, accounting date, and posting type combination from the cache.
Syntax
public MainAccount getMainAccountFromCache(
RecId _ledgerDimension,
TransDate _accountingDate,
LedgerPostingType _postingType)
Run On
Server
Parameters
- _ledgerDimension
Type: RecId Extended Data Type
The ledger dimension.
- _accountingDate
Type: TransDate Extended Data Type
The accounting date.
- _postingType
Type: LedgerPostingType Enumeration
The posting type.
Return Value
Type: MainAccount Table
The main account if the ledger dimension, accounting date, and posting type combination is valid; otherwise, an empty record.