Discussions
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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)"