Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
Save search Formula Issue
Hello Team,
I am facing an issue with formatting a date in the YYYYMMDD format within a saved search using the NVL function. I want to ensure that the date appears in the specified format, but I'm encountering errors whenever I run my formula. Can anyone assist me with this? Thank you!
My formula:
CASEWHEN {type} = 'Inventory Item' THENCASEWHEN {custitem36} = 'T' AND {locationquantityavailable} = 0 THEN '20491231'WHEN {custitem36} = 'T' AND {locationquantityavailable} > 0 THEN TO_CHAR(CURRENT_DATE, 'YYYYMMDD')WHEN {custitem36} = 'F' AND {locationquantityavailable} > 0 THEN TO_CHAR(CURRENT_DATE, 'YYYYMMDD')WHEN {custitem36} = 'F' AND {locationquantityavailable} = 0 THEN NVL(TO_CHAR({custitemnext_eta}, 'YYYYMMDD'), '20251231')