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 ledger account for the default account.
Syntax
server private static LedgerDimensionAccount getLedgerDimensionForLedgerTypeServer(
LedgerDimensionDefaultAccount _ledgerDimension,
CompanyId _company,
LedgerJournalTable _ledgerJournalTable)
Run On
Server
Parameters
- _ledgerDimension
Type: LedgerDimensionDefaultAccount Extended Data Type
The default account.
- _company
Type: CompanyId Extended Data Type
The company ID of the default account.
- _ledgerJournalTable
Type: LedgerJournalTable Table
The header for the transaction.
Return Value
Type: LedgerDimensionAccount Extended Data Type
The ledger account.
Remarks
This method mirrors the getLedgerDimensionForLedgerType method but is guaranteed to run on the server.