AgreementHeader.getLegalEntity Method
Retrieves the legal entity for the agreement.
Syntax
public CompanyInfo getLegalEntity()
Run On
Called
Return Value
Type: CompanyInfo Table
A CompanyInfo.
Remarks
This method is an abstract method which must be implemented in the derived tables.
It returns buying or selling legal entity, depending on the agreement type: Sales or Purchase.
When called from the instance of type AgreementHeader throws an error.