... the ID from the lookup field called "Vendor Contact"
var v_VendorContactID = ZDK.Page.getField('Vendor_Contact').getValue().id;
// get the record details for this contact record
var r_ContactDetails ...
...
if(!isnull(r_XeroContact.get("Contacts")))
{
for each r_ThisContact in r_XeroContact.get("Contacts")
{
//
// checks if in system already (update or create)
if(!isnull(r_ThisContact.get("ContactID")))
{
// ...
What?
A quick article to demonstrate code that creates a task in CRM based on the time logged against an Event/Meeting.
Why?
As developers, we're keep account of our time and we are currently ...
... going to ZohoCRM > Setup > Customization > Modules and Fields > Contacts > Links and Buttons > Create Button where the function arguments will be p_ContactID = Contacts.Contact_ID
v_OutputMessage = ...
... c
ON c.[ContactId] = sd.[Contact] and c.[SetId] = sd.[SetId]
INNER JOIN [pretendDatabase].[pretendSchema].[WEEKMAPNUMERIC] wm
ON wm.[WeekId] = tt.[WeekId] AND wm.[SetId] = tt.[SetId]
WHERE ...
... = sd.[SetId]
INNER JOIN [CONTACT] c
ON c.[ContactId] = sd.[Contact] and c.[SetId] = sd.[SetId]
INNER JOIN [WEEKMAPNUMERIC] wm
ON (wm.[SetId] = tt.[SetId] and wm.[WeekId] = tt.[WeekId])
WHERE ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.