R17342-1 ProductGroup - Product Group And Parent Group Enterprise Company Are Different

Code R17342-1
Entity General.Products.ProductGroups Entity
Name ProductGroupAndParentGroupEnterpriseCompanyAreDifferent
Attribute EnterpriseCompany
Layer Back-End
Events Commit
Priority Normal
Modify NO
Applicable Legislations ALL // no condition needed
Action If (Parent != Null && Parent.EnterpriseCompany != Null )

, validate that : ProductGroup.EnterpriseCompany == Parent.EnterpriseCompany
Description If the parent product group contains an enterprise company the product group must have the same enterprise company.
Message The Enterprise Company of the product group '{Code}: {Name}' and its parent has to be the same or the Enterprise Company of the parent group 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.