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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
CASE Statement Help Using Dates
Hello,
Does anyone know to make a CASE statement work with a BETWEEN with a date range? I am trying to look at activities between X and X dates and keep getting an invalid error.
CASE Statement (Formula Numeric)
CASE
WHEN {activity.completeddate} BETWEEN 1/1/2011 AND 3/1/2011
THEN '1'
ELSE '0'
END
I also tried it with the formula date and got the same error message. I'm sure its in my formatting but cannot get it to work. Thank you in advance for your help/comments.
0