Invoice reminder emails and delinquent customers
I was asked this
No reports yet. Sign in to say where you were asked it.
Each customer has one invoice (a time and an amount). A configurable schedule says which emails go out relative to the invoice time, for example "Upcoming" ten days before, "New" at the invoice time, "Reminder" twenty days after and "Due" at the last offset, which is the due date. Payments arrive at various times, not in order.
Produce the email log in time order: at each scheduled time, first apply every payment made by then, and send the email only if the customer still owes money, showing the amount still owed. Finish with the list of customers who still owed money on their due date and how much.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Sign in to submit your code; every attempt is kept here.
