As you're aware, Zoho Books lets you set credit limits for your customers, that can be monitored in both invoices and sales orders. Previously, we shared a
custom function that can alert users when an invoice exceeds the credit limit. Today, we bring you a similar function for sales orders. It will automatically send email notifications to specific users when a sales order exceeds the credit limit.
Prerequisites:
1. Create a
Connection named "zbooks" to successfully execute the function. You can watch the GIF attached below to know how to create the connection.

2. Create a Check Box-type custom field called "Notify about Credit Limit?" for the users. The email notifications about the credit limit will be sent only to those users for whom the checkbox is ticked.
Note: If you have already created this custom field while implementing
Function #40 and have ticked it for specific users, then the same users will also be notified about the sales orders.