erp.type | erp.entity |
---|---|
business-rule |
General.Documents |
+-----------------------------+---------------------------------------------------------------------------------------+
| Code | R35922 |
+-----------------------------+---------------------------------------------------------------------------------------+
| Entity | @General.Documents |
+-----------------------------+---------------------------------------------------------------------------------------+
| Name | NotifyAssignedToUserUponAssignment |
+-----------------------------+---------------------------------------------------------------------------------------+
| Attribute | - |
+-----------------------------+---------------------------------------------------------------------------------------+
| Layer | Back-End |
+-----------------------------+---------------------------------------------------------------------------------------+
| Events | Commit, Committed |
+-----------------------------+---------------------------------------------------------------------------------------+
| Record State | Inserted, Updated |
+-----------------------------+---------------------------------------------------------------------------------------+
| Priority | Late |
+-----------------------------+---------------------------------------------------------------------------------------+
| Modify | YES |
+-----------------------------+---------------------------------------------------------------------------------------+
| Action | On commit - the rule checks if the Assigned To User field is set to a value different than the current database value and the assigned user is different from the current user
| | On committed - if the above condition is met, the rule creates a notification to the assigned user through the @notifications system.
+-----------------------------+---------------------------------------------------------------------------------------+
| Description | The rule ensures that the user assigned as responsible for the document will be |
| | promptly notified of this assignment. |
+-----------------------------+---------------------------------------------------------------------------------------+
| Message | - |
+-----------------------------+---------------------------------------------------------------------------------------+
| Version | Introduced: v.24 |
+-----------------------------+---------------------------------------------------------------------------------------+
| Revocable | YES |
+-----------------------------+---------------------------------------------------------------------------------------+
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.