Share via


CurrencyLedgerGainLossAccount::ledgerDimension Method

Retrieves the default account of the ledger dimension for the passed in parameters.

Syntax

client server public static LedgerDimensionDefaultAccount ledgerDimension(
    RecId _ledger, 
    CurrencyCode _currencyCode, 
    CurrencyGainLossAccountType _accountType)

Run On

Called

Parameters

Return Value

Type: LedgerDimensionDefaultAccount Extended Data Type
The ledger dimension default account for the specified values.

Remarks

The method will first check if a ledger dimension default account exists in the CurrencyLedgerGainLossAccount table. If the ledger dimension default account is not found in the CurrencyLedgerGainLossAccount table, the method will check the LedgerGainLossAccount table.

See Also

Reference

CurrencyLedgerGainLossAccount Table