AnsweredAssumed Answered

Error with ifElse error

Question asked by Jim Ramlall on Jan 9, 2019
Latest reply on Jan 10, 2019 by Jim Ramlall

Hello all,

I've semi-new to SugarCRM and have exhaustively searched but cannot seem to find the right answer.

I have 3 fields $max_meeting_c, $max_email_c, $max_call_c and I would like to check if the which field has the latest date and then place that into another field. I've tried many numerations but cannot seem to get this to work.


I've attached my work but keep getting an error of 

I've also attached the notepad copy of the code.

What I'm checking is which date between the 3 fields have the latest date and then place that date into the last contact date.

Any help would be appreciated.