R17342-2 ProductGroup - Product Group And Child Groups Enterprise Company Are Different
| Code | R17342-2 |
| Entity | General.Products.ProductGroups Entity |
| Name | ProductGroupAndChildGroupsEnterpriseCompanyAreDifferent |
| Attribute | EnterpriseCompany |
| Layer | Back-End |
| Events | Commit |
| Priority | Normal |
| Modify | NO |
| Applicable Legislations | ALL // no condition needed |
| Action | If EnterpriseCompany != Null
, validate that:
All(SubGroups.EnterpriseCompany) == EnterpriseCompany |
| Description | If the product group contains an enterprise company all of its subgroups must have the same enterprise company. |
| Message | The Enterprise Company of the product group '{Code: Name}' and all of its child groups has to be the same or the Enterprise Company field 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.