R29695 PosLocation - Valid Enterprise Company Location

Code R29695
Entity Crm.Pos.Locations Entity
Name ValidEnterpriseCompanyLocation
Attribute EnterpriseCompanyLocation
Layer Back-End
Events Commit
Priority Normal
Modify NO



Applicable Legislations ALL // no condition needed
Action Validate that:

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

EnterpriseCompanyLocation.EntepriseCompany == EntepriseCompany.Company
Description The current validation checks that Enterprise Company Location of the POS Location belongs to the Enterprise Company of the same POS Location.
Message The Enterprise Company Location chosen in POS Location '{PosLocationCode}' is not company location of the Enterprise Company '{EnterpriseCompany}' of the POS Location.
Introduced In Version 2019.1
Revocable NO

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