Update Quote Stage from Button in Deal
I have button associated with Quote related list in the Deals module. I want it to update the Quote Stage field in the Quotes module. I have found some script similar but cannot get it work. Any help would be appreciated.
This is what I attempted to modify but i am not versed in Deluge script.
potIdStr = input.potId.toString();
mp=map();
mp.put(“Quote Stage”,”Sent to Invoicing”);
update = zoho.crm._updateRecord(“Quotes”,quoteIdStr,mp);
info mp;
info update ;
return "success";