Assuming dealdetails is required, the following 7 results were found.
of this record let r_DealLookup = ZDK.Page.getField('Opportunity_Name').getValue(); let v_DealID = r_DealLookup.id; let r_DealDetails = ZDK.Apps.CRM.Deals.fetchById(v_DealID); // get Deal/Opportunity fields we need to refer to var v_OppType =...
use-case This is a snippet that gets the tags of a contact and copies it over to the deal record: l_Tags = List(); // r_DealDetails = zoho.crm.getRecordById("Deals",p_DealID); if(!isNull(r_DealDetails.get("Contact_Name"))) { r_ContactDetails = invokeurl...
= ifnull(r_RecordDetails.get("data"),List()); for each m_DealData in l_DealData { if(!isNull(m_DealData.get("id"))) { r_DealDetails = m_DealData; if(!isNull(r_DealDetails.get("Pipeline"))) { v_Pipeline = r_DealDetails.get("Pipeline"); } } } return...
record. In this example, the custom field is called "Division": // // init v_DealID = ifnull(p_DealID,0); r_DealDetails = zoho.crm.getRecordById("Deals",v_DealID); // // Map users/owners division to this deal if(!isnull(r_DealDetails.get("Owner"))) {...
shortcode: l_Users = zoho.crm.getRecords("users"); or a specific user: r_ZohoResponse = zoho.crm.getRecordById("users",r_DealDetails.get("Owner").get("id")); l_MatchingUsers = ifnull(r_ZohoResponse.get("users"),{}); for each r_UserDetails in...
, then in your CRM code to create the record in Creator: l_MyMultiPicklist = List(); for each r_PicklistOption in r_DealDetails.get("My_MultiPicklist") { v_PicklistOption = r_PicklistOption.trim().replaceAll(",", ",",true);...
{ v_DealID = r_Result.get("id").toLong(); } } } // // if Deal ID is not zero, then it was found! if(v_DealID != 0) { r_DealDetails = zoho.crm.getRecordById("Deals",v_DealID,{"converted":"both","approved":"both"}); // // do stuff here such as updating...