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
Invalid Expression in search formula
Hello,
I have modified a % formula which was previously working by adding and additional "AND" statement. The formula is now returning Invalid Expression.
My working formula is as follows:
CASE WHEN {customer.datecreated} > to_date('1/1/2011','MM/DD/YYYY') AND {trandate}-{custbody_item_no.custitem_origpncreatedate} <270 THEN .01 ELSE {custbody_item_no.custitem_commint} END
Here is my modified formula which is returning an error:
CASE WHEN customer.datecreated} > to_date('1/1/2011','MM/DD/YYYY') AND {trandate}-{custbody_item_no.custitem_origpncreatedate} <270 AND {custbody_custid} IN (39,44,48,58,63,64,66,67,77,122,218) THEN .01 ELSE {custbody_item_no.custitem_commint} END Note I have added "AND {custbody_custid} IN (39,44,48,58,63,64,66,67,77,122,218)"