Hello gurus, way back in February, I implemented an email program with the help of John.
The email prgogram basically checks our orders table and selects any orders that have missed submission deadline and sends an email to the clent.
This one is slightly different.
What we want to do here is to implement an accident program.
An accident happens, the individual involved in the accident calls our hotline to report the accident; accident info is logged into our system.
Upon hitting the submit button, an email is sent to 3 different people:
the supervisor of the employee involved in the accident, the safety officer and the deputy.
Each, beginning with the supervisor has 24 hours to complete a certain for.
So supervisor has 24 hours.
As soon as he forwards the form to safety officer, safety officer has 24 hours.
Once it is forwarded to deputy, he has 24 hours.
I am trying to come up the a logic that can tell when one individual has completed his form and when it is time for the other to complete his.
Basically, my email will say to the supervisor, you have 24 hours to complete your form.
My code will recognize that he has completed his form and that safety now has it and has 24 hours and so on.
Each will be giving reminders before his/her 24 hours elapses and will continue to receive it until he/she completes his form.
Can someone please give me ideas that will help me with this?
thanks in advance
The email prgogram basically checks our orders table and selects any orders that have missed submission deadline and sends an email to the clent.
This one is slightly different.
What we want to do here is to implement an accident program.
An accident happens, the individual involved in the accident calls our hotline to report the accident; accident info is logged into our system.
Upon hitting the submit button, an email is sent to 3 different people:
the supervisor of the employee involved in the accident, the safety officer and the deputy.
Each, beginning with the supervisor has 24 hours to complete a certain for.
So supervisor has 24 hours.
As soon as he forwards the form to safety officer, safety officer has 24 hours.
Once it is forwarded to deputy, he has 24 hours.
I am trying to come up the a logic that can tell when one individual has completed his form and when it is time for the other to complete his.
Basically, my email will say to the supervisor, you have 24 hours to complete your form.
My code will recognize that he has completed his form and that safety now has it and has 24 hours and so on.
Each will be giving reminders before his/her 24 hours elapses and will continue to receive it until he/she completes his form.
Can someone please give me ideas that will help me with this?
thanks in advance