I'm looking for the most simple way to handle the following situation.
We have a CUSTOMER table with a CREDIT_LIMIT field and a BALANCE field.
When the BALANCE value goes over the CREDIT_LIMIT (following the creation of a Sales invoice, say) we want a trigger to activate and send a target list of recipients an e-mail indicating that the customers credit limit has been exceeded.
Different customer accounts may have different account managers - and as such different email addresses may be used dependent on the customer in question.
What can I put in place to achieve something like this?
Any advice / pointers would be appreciated.
Thanks in advance.
Steve
We have a CUSTOMER table with a CREDIT_LIMIT field and a BALANCE field.
When the BALANCE value goes over the CREDIT_LIMIT (following the creation of a Sales invoice, say) we want a trigger to activate and send a target list of recipients an e-mail indicating that the customers credit limit has been exceeded.
Different customer accounts may have different account managers - and as such different email addresses may be used dependent on the customer in question.
What can I put in place to achieve something like this?
Any advice / pointers would be appreciated.
Thanks in advance.
Steve