How to pull others field data along with look up field in Zoho CRM

Consider 2 Custom module , one is Doctors and another one is Dr. Visits. In Dr.Visits module have a look up field for Doctors module. Sometimes it might be required to pull some others data from Doctor module to Dr.Visits module. In this case, a custom function can be used in workflow rules automation. Please find the below code as for example-

void Pullingdocdata (int did int dvid )

rec = zoho.crm.getRecordById(“CustomModule3″,input.did);
crmRsp = zoho.crm.updateRecord(“CustomModule4″,input.dvid.toString(),{ “Doctor Specialty” : dsp, “Doctor Phone” : phn, “Modality” : modality });



Leave a Comment

Your email address will not be published. Required fields are marked *