Notification
You can configure various notifications in your system to remind you of important activities.
- The completion date of a Task.
- Expected Delivery Date of a Sales Order.
- Expected Payment Date.
- A reminder of follow up.
- If an Order greater than a particular value is received or sent.
- Expiry notification for a Contract.
- Completion/Status change of a Task.
To access notification setup, go to:
\u003e Home \u003e Settings \u003e Notification
- Setting Up An Alert
To set up a Notification:
-
Define what events you want to watch under Send Alert On. Events are:
- New: When a new document of the selected type is made.
- Save/Submit/Cancel: When a document of the selected type is saved, submitted, or canceled.
- Days Before/Days After: Trigger this alert a few days before or after the Reference Date. To set the days, set Days Before or After. This can be useful in reminding you of upcoming due dates or reminding you to follow up on certain leads of quotations.
- Value Change: When a particular value in the selected type changes.
- Method: Sends notification when a specific method is triggered. Eg: before_insert.
- Custom: Send a notification to an Email Account selected.
-
Select the Document Type you want to watch changes on. From Version 16, You can also select child Document Types if Send Alert On is set to Days Beforeor Days After.
-
Set additional Conditions if required.
-
Set the recipients of this alert. The recipient could either be a field of the document or a list of fixed Email Addresses.
-
Compose the message.
-
Save.
1.1 Setting a Subject
You can retrieve the data for a particular field by using doc.[field_name]. To use it in your subject/message, you have to surround it with {% raw %}{{ }}{% endraw %}. These are called Jinja tags. For example, to get the name of a document, you use {% raw %}{{ doc.name }}{% endraw %}. The following example sends an email on saving a Task with the Subject, \