R17393-1-1 ProductGroup - Product Group And Parent Group Use Lots Are Different

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

, validate that:

UseLots == Parent.UseLots
Description If the parent product group contains Use Lots value the product group must have the same Use Lots value.
Message The value of the field 'Use Lots' of the product group '{Code: Name}' is different from the value set in the parent product group..

If the field 'Use Lots' in the parent product group contains a value, then this value has to be set in the product group as well.
Version Introduced: 2016
Revocable NO

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