R17342-3 ProductGroup - Product Group And Products Enterprise Company Are Different

Code R17342-3
Entity General.Products.ProductGroups Entity
Name ProductGroupAndProductsEnterpriseCompanyAreDifferent
Attribute EnterpriseCompany
Layer Back-End
Events Commit
Priority Normal
Modify NO
Applicable Legislations ALL // no condition needed
Action If EnterpriseCompany != Null , validate that:

All(Product.EnterpriseCompany) == EnterpriseCompany
Description If the product group contains an enterprise company all of its products must have the same enterprise company.
Message The Enterprise Company of the product group '{Code: Name}' and all of its products has to be the same or the Enterprise Company field should be empty.
Version Introduced: 2015
Revocable NO

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