Ledger::findByLegalEntity Method
Gets the primary Ledger record for a legal entity.
Syntax
client server public static Ledger findByLegalEntity(
LegalEntity _legalEntityRecId,
[boolean _forUpdate,
ConcurrencyModel _concurrencyModel])
Run On
Called
Parameters
- _legalEntityRecId
Type: LegalEntity Extended Data Type
The record ID of a legal entity.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
- _concurrencyModel
Type: ConcurrencyModel Enumeration
The concurrency model option to use when the record is read; optional.
Return Value
Type: Ledger Table
The Ledger record.