Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. 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)"