Assuming updatedeal is required, the following 3 results were found.
{ if(r_Division.get("Name") == v_DivisionName) { v_DivisionID = r_Division.get("id"); } } } if(v_DivisionID != "") { m_UpdateDeal = Map(); m_UpdateDeal.put("Division",v_DivisionID); r_UpdateDeal = zoho.crm.updateRecord("Deals",v_DealID,m_UpdateDeal);...
l_UpdateSOs); // // cancel all related invoices // (...) // // mark the deal as processed r_UpdateDeal = zoho.crm.updateRecord("Deals", m_Deal.get("id"), {"Cancelled_Related_Records":true}, {"trigger":{}}); if(!isNull(r_UpdateDeal.get("id"))) {...
// // do stuff here such as updating the deal if required m_UpdateDeal = Map(); r_UpdateDeal = zoho.crm.updateRecord("Deals", v_DealID, m_UpdateDeal); } // // now we have deal ID, retrieve the request documents...