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!
Too complicated for a saved search? Formula help needed.
I am trying to do the below with a search and am starting think it's not going to be possible without making another custom
I've tinkered with DECODE and CASE WHEN, but it's just not coming out and I've exhausted my google-fu and local resources on this.
Any ideas for making this possible in a single search would be much appreciated.
IF {customdate1}-{customdate2}) > 1 THEN 'EARLY'
ELSE IF {customdate1}-{customdate2}) = 0 THEN 'ATEXP'
ELSE IF 16 > ({customdate1}-{customdate2}) > 0 THEN 'BY15'
ELSE IF 31 > ({customdate1}-{customdate2} > 15 THEN 'BY30'
ELSE IF 46 > {customdate1}-{customdate2} > 30 THEN 'BY45'
0