Doing some work in SugarCRM7 and getting an error when trying to use this formula. It says I’m not closing it properly, but can’t figure it out.
Any help would be awesome.
ifElse(
and(
equal(related($contracts,“commodity_c”),“YC”)
isAfter(related($contracts,“deliverydate_c”),9/31/2014)
isBefore(related($contracts,“deliverydate_c”),10/1/2015)
related($contracts,“scheduled_c”),0)