Alena
09/05/2024, 7:01 PMCeligo AI
09/05/2024, 7:02 PMAI generated answer (using internal Slack threads):To calculate the invoice overdue days quantity in the email template, you can use a formula field in your saved search that calculates the difference between the current date and the invoice due date. Here's a pseudo-code example of how you might do this:
pseudo
{today} - {duedate}
This will give you the number of days that the invoice is overdue. You can then include this field in your email template.
Please note that {today}
and {duedate}
are placeholders for the actual fields in your NetSuite environment. Replace them with the actual field IDs.
Also, remember that this calculation will give you the number of days overdue for each invoice. If you want to get a total number of overdue days for a customer, you might need to sum up these values.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
09/05/2024, 7:02 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.849137127
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.842989862
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.827853262
Celigo AI
09/05/2024, 7:02 PM