auto fill fields in zoho crm
hello I hope you can help me I have two fields in quotes name of the contact and email I want that by filling in the name of the contact manually the email field is filled in automatically and I will perform this function but I have no results.
QuoteidStr = Quoteid.toString();
ContactDetails = zoho.crm.getRecordById("Contacts",Contactid);
mp = Map:String();
mp.put("Email",ifnull(ContactDetails.get("Email"),""));
updateResp = zoho.crm.updateRecord("Quotes",QuoteidStr,mp);
info mp;
info updateResp;