LedgerInterCompany::findByCompany Method
Finds the LedgerInterCompany record for the specified values.
Syntax
client server public static LedgerInterCompany findByCompany(CompanyId _dataAreaIdCompany, CompanyId _companyRelated)
Run On
Called
Parameters
- _dataAreaIdCompany
Type: CompanyId Extended Data Type
The company where the LedgerInterCompany record exists.
- _companyRelated
Type: CompanyId Extended Data Type
The company that has the intercompany relationship.
Return Value
Type: LedgerInterCompany Table
The LedgerInterCompany record.
Exceptions
Exception | Condition |
---|---|
Error | The intercompany accounting relationship is missing. |