R35444 NotificationSettings - Validate Notification Settings

Code R35444
Entity Systems.Core.NotificationSettings Entity
Name ValidateNotificationSettings
Attribute NotificationSettings
Layer Back-End
Events Commit
Priority Normal
Modify NO
Action The rule validates that if the 'Receive Notification' field is unchecked, then the 'Receive Mail' and/or 'Receive SMS' field cannot be checked either.
An error will be thrown upon saving.
Description The rule ensures that email or SMS notifications cannot be set up when the 'Receive Notification' field for the user is unchecked.
Message The option 'Receive Mail' and/or 'Receive SMS' has been chosen for user '{User}' and class '{NotificationClass}', but the 'Receive Notification' field is not selected.
Choosing 'Receive Mail' and/or 'Receive SMS' options is not permitted unless the 'Receive Notification' field is checked.
Please check the 'Receive Notification' field and try again.
Version Introduced: v.24
Revocable NO

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