Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
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')