R32452 ProductGroupRequiredProperties - UpdateDefaultValueAndDescription

Name Value
Code R32452
Entity General.Products.ProductGroupRequiredProperties Entity
Name UpdateDefaultValueAndDescription
Attribute DefaultPropertyValue
Layer Front-End
Events AttributeChanged(DefaultPropertyValue)
Priority Normal
Modify YES
Applicable Legislations ALL // no condition needed
Action If (DefaultPropertyValue.NewValue != NULL and it is a PropertyAllowedValue)
, then recalculate:
DefaultPropertyValueDescription = PropertyAllowedValue.Description
DefaultValue = PropertyAllowedValue

If (DefaultPropertyValue.NewValue != NULL and it is NOT a PropertyAllowedValue)
then:
DefaultPropertyValueDescription = NewValue
DefaultValue = null
Description* When a new 'Default Property Value' if this value is an allowed value for this property, then its value and describtion are automatically loaded in the corresponding fields. If the new value is not an allowed value for this property, then the new value is copied to DefaultPropertyValueDescription and DefaultValue is emptied.
Message -
Version Introduced: 2022
Revocable YES

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