R20400 Product - No Active Product In Inactive Product Group

Code R20400
Entity General.Products.Products Entity
Name NoActiveProductInInactiveProductGroup
Attribute Active, ProductGroup
Layer Back-End
Events Commit
Priority Normal
Modify NO
Applicable Legislations ALL // no condition needed
Action If (Product.ProductGroup.Active == true ) ,

validate that:

Product.ProductGroup == Null

OR

Product.ProductGroup.Active == true
Description The product can not be activated, if its product group for that product is inactive.
Message Product with code '{PartNumber}' can not be activated. The product's product group '{ProductGroup.Code}' 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.