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.
HTML formatting for Item Quantity issue
Hi there,
I just the following code to format our {locationquantityavailable} to show colours.
CASE
WHEN {locationquantityavailable} > 10 THEN '<font color="#006400">'||{locationquantityavailable}||'</font>'
WHEN {locationquantityavailable} > 5 THEN '<font color="#EEB422"><b>'||{locationquantityavailable}||'</b></font>'
WHEN {locationquantityavailable} > 0 THEN '<font color="#BE2625"><b>'||{locationquantityavailable}||'</b></font>'
ELSE '<font color="#BE2625"><b>'||{locationquantityavailable}||'</b></font>'
END
It work like a charm, but I have to set the field type as "Formula (Text)" which make it align left instead of "Formula (Numeric)" align right. Result is like this screen: https://i.srsworks.com/i/92iP