Check field checkbox based on update of another field.
In my budget layout I have a checklist field and several checkbox fields indicating the stage of my budget (like a timeline).
I need a code that when changing the field of list and save, the system marks the respective field (checkbox).
I tried something with this code but without result:
acctDetails = zoho.crm.getRecordById("Quotes",input.acctId);
acctId2=input.acctId.toString();
mp=map();
if(input.produto == "Julgamento TRT RO")
{
mp.put("Julgamento TRT RO",true);
Resp = zoho.crm.updateRecord("Quotes",acctDetails,mp);
}