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.
Finds the specified record in the LedgerGainLossAccount table.
Syntax
client server public static LedgerGainLossAccount findByLedgerAccountType(
RecId _ledger,
CurrencyGainLossAccountType _accountType,
[boolean _forupdate])
Run On
Called
Parameters
- _ledger
Type: RecId Extended Data Type
The ledger of the LedgerGainLossAccount record.
- _accountType
Type: CurrencyGainLossAccountType Enumeration
The currency gain or loss account type of the LedgerGainLossAccount record.
- _forupdate
Type: boolean
Return Value
Type: LedgerGainLossAccount Table
A LedgerGainLossAccount record; otherwise, an empty record.