R20400-1 ProductGroup - Check Hierarchy For Active

Code R20400-1
Entity General.Products.ProductGroups Entity
Name CheckHierarchyForActive
Attribute Active, Parent
Layer Back-End
Events Commit
Priority Normal
Modify NO
Applicable Legislations ALL // no condition needed
Action If (Active == True)

, validate that: "Parent == NULL" OR "Parent.Active == True"
Description The product group can not be activated, if the parent product group for that product group is inactive.
Message Product group '{Code: Name}' can not be activated. Its parent group is not active.
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.