Updating contact phone numbers from accounts
Updating contact phone numbers from accounts
I am trying to build a custom function which will inherit the phone number for a contact from the account. I have copied the following script but get errors. Can anyone explain where I'm going wrong?
void workflowspace.UpdateContatPhone(int contactId,string Phone)
{
contactIdStr=input.contactId.toString();
mp=map();
mp.put("Phone",input.Phone);
updateresponse = zoho.crm.updateRecord(("Contacts"),contactIdStr,mp);
}