I have created an email alert to send the mail to customer as well as our sales persons 2 days before the due date and 2 days after the due date, which is working fine but what if I want send the alert on the invoice due date, I tried to put value 0 in before and after days section but seems it is not wokring.
Apart from that I realize that the system is sending the email alerts even if the invoice is already paid and that is because of my mistake, I was not using conditions.
Now I am trying to put the condition that if the doc.status is Unpaid or Overdue then only it should send the alert but I am getting the Invalid condition error, Please refer the attached Screenshot.
I think what you are looking for can be achieved with outstanding amount condition and payment due date alert. The text states that Days before and Days after, I don’t think 0 days would work currently with the functionality we have. You can raise an issue on GitHub in case you feel it is an issue.
There is one more issue, as system is not allowing me to setup the same subject or alert name twice.
What if I want the same subject name and send the alert.
e.g. I have create the alert with the subject Invoice is unpaid which should trigger 2 days and 1 day before the due date, same way the another subject invoice overdue after 1 day and 2 days of the due date, so here I am not able to set the same subject name twice I have to modify the subject and save the alert.
How I can achieve this in single alert or subject name?