Join Slack
Communities
Powered by
Hi, what would a formula be to set duedate to be t...
# suiteanalytics
d
DrVeeVah
11/20/2019, 9:47 AM
Hi, what would a formula be to set duedate to be the friday of the week the invoice was created. I have the workflow working etc, just struggling a bit with the formula to set the field. Thanks!
m
Matt
11/20/2019, 10:05 AM
https://stackoverflow.com/questions/54637904/calculated-due-date-that-excludes-weekends
Not the exact answer but might be helpful
m
michoel
11/20/2019, 10:17 AM
I am on mobile so I can't test but something like this should work
{today} + (TO_CHAR({today}, 'D') - 6)
michoel
11/20/2019, 10:18 AM
If invoiced on a Saturday, it would be be due the previous day, unless you add a check for that.
d
DrVeeVah
11/20/2019, 2:16 PM
Excellent thanks i will try and get back to you
@michoel
Open in Slack
Previous
Next