MainAccountLegalEntity::findByMainAccountLegalEntity Method
Finds the specified record in the MainAccountLegalEntity table.
Syntax
client server public static MainAccountLegalEntity findByMainAccountLegalEntity(
RefRecId _mainAccount,
RefRecId _legalEntity,
[boolean _forupdate,
ConcurrencyModel _concurrencyModel])
Run On
Called
Parameters
- _mainAccount
Type: RefRecId Extended Data Type
The record ID of the related MainAccount table.
- _legalEntity
Type: RefRecId Extended Data Type
The record ID of the related CompanyInfo table.
- _forupdate
Type: boolean
A Boolean value that indicates whether to read the record for an update.
- _concurrencyModel
Type: ConcurrencyModel Enumeration
An optional value that is used when the table is not automatically concurrent.
Return Value
Type: MainAccountLegalEntity Table
A record in the MainAccountLegalEntity table; otherwise, an empty record.