... quick answer is to build a nested map in your request instead of using the Creator/JavaScript period/dot character...
Some might suggest it's an authorization error but if you do a getRecordById and ...
... in the Future
Total Number of Candidates
I'll flesh this out some other time but here's the code I used:
r_CandidateDetails = zoho.recruit.getRecordById("Candidates",p_CandidateID,"zrecruit");
//info ...
... if Deal ID is not zero, then it was found!
if(v_DealID != 0)
{
r_DealDetails = zoho.crm.getRecordById("Deals",v_DealID,);
//
// do stuff here such as updating the deal if required
m_UpdateDeal ...
... get the quote details given a record ID
r_QuoteDetails = zoho.crm.getRecordById("Quotes",p_QuoteID);
//
// check target email is not null/blank
if(!isnull(r_QuoteDetails.get("Email")))
{
v_Url ...
... = zoho.crm.getRecordById("users",v_UserID);
if(!isnull(r_UserDetails.get("users")))
{
for each r_User in r_UserDetails.get("users")
{
if(!isnull(r_User.get("profile")))
{
v_UserProfile ...
... function below with the parameter "p_CallID" being the Calls - Call ID value.
//
r_CallDetails = zoho.crm.getRecordById("Calls",p_CallID);
//
// using the account SID you obtained in the steps above
v_Account_SID ...
... " + r_LeadDetails.get("State"));
for each r_Result in l_SearchResults
{
if(!isnull(r_Result.get("id")))
{
// get the state record details
r_StateDetails = zoho.crm.getRecordById("States",r_Result.get("id"));
if(!isnull(r_StateDetails.get("TimeZone")))
{
...
... = zoho.crm.getRecordById("Calls",123456789012345678);
info r_CallDetails;
//
// system/application is set to EST (America/New_York)
v_SystemCallTime = '2021-11-19 11:12:34';
//
// manual setting to ...
... specify your Creator record ID holding the image
v_CreatorQuoteID = 9876543210987654321;
//
// get the full details of the Creator record
r_GetFullRecord = zoho.creator.getRecordById(v_AppOwner,v_AppName,v_ReportName,v_CreatorQuoteID,"joels_creator");
if(!isnull(r_GetFullRecord.get("data")))
{
r_CreatorRecord ...
... m_Currencies;
//
// get Books ID for a currency from an CRM account record
r_AccountDetails = zoho.crm.getRecordByID("Accounts", 9012345678901234567);
v_BooksCurrencyID = m_Currencies.get(ifnull(r_AccountDetails.get("Currency"),"GBP"));
info ...
... = zoho.crm.getRecordById("Sales_Orders", 012345678901234567);
// build up your map to send to ZohoBooks to create the Sales Order
m_BooksCreateSO.put("date",zoho.currentdate);
//
// push to ZohoBooks
r_CreateSO ...
... and updates the Opportunity/Deal/Potential 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);
//
// ...
... = zoho.crm.getRecordById("Sales_Orders",p_SoID);
//
// check if owner and get matching salesperson ID
if(!isnull(r_SoDetails.get("Owner")))
{
v_OwnerID = r_SoDetails.get("Owner").get("id");
v_Filter ...
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.