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.
We’re excited to announce that the 2025 Community Recap is now available! This special recap highlights the amazing contributions and achievements of our members over the year and celebrates the collective success of our community.
Check your personalized recap to see the impact you made in 2025 and how your efforts helped shape our community’s growth and success.
View Your 2025 Community Recap
Thank you to everyone for your passion, collaboration, and support. Here’s to building an even stronger community together in the year ahead!
Highlight result if less than 100% (Case When)
I've got this formula (Text) in a Saved Pricing Search: ROUND(({unitprice}/NULLIF({item.currentstandardcost},0)),4)
Now I want to change the color of the result if it's less than 100%. So i'm trying to create a Case WHEN statement.
The closest I got was the following:
Case WHEN ({unitprice}/NULLIF({item.currentstandardcost},0)*100) < '100'
THEN '<p style="color:#FF0000;"> ROUND(({unitprice}/NULLIF({item.currentstandardcost},0)*100),4) '
ELSE ' ROUND(({unitprice}/NULLIF({item.currentstandardcost},0)*100),4) '
END
But when I use the above formula, I get a weird result. Instead of numbers I get the following:
ROUND(((round(decode(invtitemprice.kpricetype,-1,(select rabsoluteprice from customeritempricing where kitem=invtitemprice.kitem and kcustomer=entity.nkey),invtitemprice.runitprice)*nvl(saleunit.mconversionrate,1),5))/NULLIF((get_total_standard_cost(it_itemlocationmap.kitem, it_itemlocationmap.klocation)),0)*100),4)