Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Saved search formula nested date field
Hello all,
I would like to create a saved search formula in the criteria subtab using Filter formula(numeric). For instance, I would like check if the current date is Monday then filter by a specific range. See my formula below:
CASE
WHEN TRIM(TO_CHAR({locationconfiguration.nextinvtcountdate},'DAY'))='MONDAY' THEN
CASE
WHEN TO_DATE({locationconfiguration.nextinvtcountdate}) BETWEEN TO_DATE({today}) AND TO_DATE({today}+5) THEN 1 ELSE 0
END
END
Also, note that I used "equal: to" = 1.
I got the error "Your formula has an error in it". I think I wrongly created the nested cases.
Can anyone help please?
Thank you
0