R29963-5 Product - Is Product Configurator Obligatory

Code R29963-5
Entity General.Products.Products Entity
Name IsProductConfiguratorObligatory
Attribute ProductGroup
Layer Front-End
Events AttributeChanging(ProductGroup)
Priority Normal
Modify NO
Applicable Legislations ALL // no condition needed
Action IF(ProductGroup!=null && ProductGroup.ConfiguratorStatus==Obligatory && Transaction.TransactionName != "ProductConfiguratorForm")

THEN Throw
Description When the Product Group is changed the Configurator Status of the group should not be 'Obligatory'. If the Configurator Status is 'Obligatory' new products must be created using a Product Configurator.
Message Products in product group '{ProductGroup.Name}' can only be created by Product Configurator.
Version 2019.1
Revocable YES

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