CurrencyLedgerGainLossAccount::findByCurrencyLedgerAccountType Method
Finds the specified record in the CurrencyLedgerGainLossAccount table.
Syntax
client server public static CurrencyLedgerGainLossAccount findByCurrencyLedgerAccountType(
RecId _ledger,
CurrencyCode _currencyCode,
CurrencyGainLossAccountType _accountType,
[boolean _forupdate])
Run On
Called
Parameters
- _ledger
Type: RecId Extended Data Type
The ledger of the CurrencyLedgerGainLossAccount record.
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency code of the CurrencyLedgerGainLossAccount record.
- _accountType
Type: CurrencyGainLossAccountType Enumeration
The currency gain loss account type of the CurrencyLedgerGainLossAccount record.
- _forupdate
Type: boolean
Return Value
Type: CurrencyLedgerGainLossAccount Table
A CurrencyLedgerGainLossAccount record; otherwise, an empty record.