R27482 Document - Enterprise Company Location

Code R27482
Entity General.Documents Namespace
Name EnterpriseCompanyLocation
Attribute EnterpriseCompanyLocation
Layer Back-End
Events Commit
Modify NO
Action Validate that:

If (EnterpriseCompany != null AND EnterpriseCompanyLocation !=null)

EnterpriseCompanyLocation.Company == EntepriseCompany.Company
Description The current validation checks that if there is company location of the document, it is a location of the enterprise company of the document. Documents with enterprise company location which are not part of the enterprise company of the specified document would be inconsistency.
Message "The enterprise company location chosen in document '{DocumentText}' isn't company location of the enterprise company in the document."
Introduced In Version 2017
Revocable NO

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.