CompanyInfo::getDataArea Method
Gets the data area ID of the specified legal entity.
Syntax
client server public static DataAreaId getDataArea(RecId _legalEntity)
Run On
Called
Parameters
- _legalEntity
Type: RecId Extended Data Type
The legal entity to search for.
Return Value
Type: DataAreaId Extended Data Type
The data area ID of the specified legal entity.
Remarks
This method enables lookup of the data area ID of the specified legal entity without materializing the CompanyInfo table buffer. Because table buffer materialization is relatively expensive, avoiding this enables faster performance in areas where this method is called many times.