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
Syntax issue?
When introducing a new string to a formula we ended up dropping income values of certain transactions. The new string's purpose is to eliminate transactions double posting due to a script that runs on our invoices.
I need help to identify if the second set of formula are written incorrectly, or if any glaring issues appear to anyone.
The original formulae:
to_char({debitamount},'9999999.99')
and:
to_char(({creditamount}*-1),'9999999.99')
The revisions:
CASE WHEN ({account.custrecord_house_account} = 'T' AND {debitamount} IS NOT NULL) THEN '0.00' ELSE to_char({debitamount},'9999999.99') END
and:
CASE WHEN ({account.custrecord_house_account} = 'T' AND {creditamount} is not null) THEN '0.00' ELSE to_char(({creditamount}*-1),'9999999.99') END