R17393-1-2 ProductGroup - Product Group And Child Groups Use Lots Are Different

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

, validate that:

All ( SubGroups.UseLots) == UseLots
Description If the field Use Lots in Product group is filled in, then the field Use Lots in all of its child groups must have the same value.
Message The value of the field 'Use Lots' of the product group '{Code: Name}' is different from the value set in its child groups.

If the field 'Use Lots' in the product group contains a value, then this value has to be the same in all of its child groups.
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.