LedgerJournalTrans.getLedgerDimensionForLedgerType Method
Gets the ledger account for the default account.
Syntax
public LedgerDimensionAccount getLedgerDimensionForLedgerType(LedgerDimensionDefaultAccount _ledgerDimension, CompanyId _company)
Run On
Called
Parameters
- _ledgerDimension
Type: LedgerDimensionDefaultAccount Extended Data Type
The default account.
- _company
Type: CompanyId Extended Data Type
The company ID of the default account.
Return Value
Type: LedgerDimensionAccount Extended Data Type
The ledger account.
Remarks
This method combines the default account together with the pertinent default dimensions to create a ledger account.