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!
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