Discussions
Saved Search Formula Not Working
Hi,
I have spent few days on manlipulate the formula, but it's just not working the way I want to. Can anyone please help me?
The below formula is working perfectly fine:
In a transaction saved search, I have
Field = Formula (Numeric)
Summary Type = Maximum
Formula =
CASE WHEN ({entitystatus}='PROPOSAL' AND {systemnotes.newvalue} = 'PROPOSAL') THEN ROUND({TODAY}-{systemnotes.date},0) when ({systemnotes.newvalue} = 'NEGOTIATION' and {systemnotes.oldvalue} = 'QUALIFICATION') THEN 0 when ({entitystatus} = 'NEGOTIATION') THEN ROUND(decode({systemnotes.newvalue},'NEGOTIATION',{systemnotes.date})-{datecreated},0) else 0 END
However, if I modified one thing, the formula will return no result:
In a transaction saved search, I have