... 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 ...
... the following request to create a Sales Order in Zoho Books would be enough:
{
"date": "2021-09-08",
"zcrm_potential_id": "123456789012345678",
"currency_code": "GBP",
"reference_number": "Salespersons ...
... "v_Filter" appears to do absolutely nothing but I've left it in there in case one day I figure it out:
// init
m_CreateSO = Map();
v_SalesPersonID = "";
//
// eval
v_BooksOrgID = 12345678901;
r_SoDetails ...
...
You would think the following would work:
r_Details = myForm[ID == 1234567890123456789];
r_Details.Account = input.Account;
But it will return the above error.
You need to do the following:
r_Details ...
... // using record IDs cos there's nothing better
m_Link.put("Joel",123456789012345678);
// create link
r_Link = zoho.crm.createRecord("Tests_X_Contacts", m_Link);
}
Code to Add ...
... response somewhat similar to the following:
// this is sample JSON with replaced IDs
"My_CRM_File": [
{
"extn": "pdf",
"is_Preview_Available": true,
"download_Url": "/crm/org12345678901/specific/ViewAttachment?fileId=aaaabbbbccccddddeeeeffff1111222233334&module=CustomModule1&parentId=123456789012345678&creatorId=987654321098765432&id=234567890123456789&name=dummy1.pdf&downLoadMode=default",
...
... = row.Upload_File; // looping through rows here but it wants the internal name here eg. "1234567890123_temp.pdf"
//
// build the URL
l_BuildUrl = List:String();
l_BuildUrl.add(v_CreatorDownloadBase);
l_BuildUrl.add(v_AppOwnerName);
l_BuildUrl.add(v_AppLinkName);
l_BuildUrl.add(v_ViewLinkName);
l_BuildUrl.add(v_CreatorRecordID);
l_BuildUrl.add(v_SubFormName ...
... be applied
Solution: I have to convert the node into a map:
info m_Response.get("item").toMap().get("item_id");
// yields: 123456789012345678
Problem: Inserting a date time string into a date ...
... item and posting the map back to the record. In the following example, we are swapping out the product "123456789012345678" with the product "987654321098765432" and p_InvoiceID is the ID of the invoice ...
...
id is the Creator ID of the record.
dataMap is the map() to post.
connectionLinkName is the connection link obtained previously (as a string).
For example:
v_RecordID = "1234567890123456789".toLong();
m_Params ...
What?
A quick article on how I displayed feeds from the company's social network pages in one page.
Why?
There are 3rd-party apps that let you do this, some paid, some not. This was for a staff ...
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.