... on filename changes, I run this bit of code to get the internal and current file name:
//
// get original document file (optional) - you need your own record ID here
v_ZC_DocumentRecordID = 1234567890123456789;
c_ExistingDocument ...
... to_mail_ids in the URL instead of the body parameters
******************************************************************************* */
v_BooksOrgID = "12345678901";
v_BooksInvoiceID = 0;
v_ZB_CustomerID ...
... */
//
// Go create a folder in workdrive, take the last hash string after the word /folders/ in the URL:
v_TargetFolder = ifnull(p_WorkdriveFolder,"abcdefghijklmnopqrstuvwxyz12345678901");
v_ImageToDownload ...
... */
//
// our made up books org id but enter your own
v_BooksOrgID=12345678901;
//
// ---------------------------------
// ZohoBooks Taxes
m_Taxes = Map();
r_Taxes = invokeurl
[
url :"https://books.zoho.eu/api/v3/settings/taxes?organization_id=" ...
... enter your own organization ID here for ZohoBooks and ZohoInventory
v_BooksOrgID = 12345678901;
//
// evaluate
v_currentDate = zoho.currentdate.toString("yyyy-MM-dd");
v_OrderDate = zoho.currentdate.toString("yyyy-MM-dd");
v_Page ...
... into a PDF using a customer's template.
//
// initialize (this is code added to a button so should alert user if no email was specified)
v_OutputMessage = "";
v_TemplateID = "123456789012345678";
//
// ...
... record that holds my API connection details
v_IntegrationRecordID = 123456789012345678;
r_CrmRecord = zoho.crm.getRecordById("Integrations",v_IntegrationRecordID);
v_TradingAPIVersion = r_CrmRecord.get("Compatibility_Version");
//
/ ...
... day meeting
m_ScheduleMeeting.put("All_day",false);
//
// meeting owner/host ID (can see any record related to this meeting)
m_ScheduleMeeting.put("Owner",123456789012345678);
//
// related to what ...
... 32;
//
// set to the Account record of our organization
v_OrgAccountRecord = 123456789012345678;
//
// loop through all users
r_Users = zoho.crm.getRecords("users");
if(!isnull(r_Users.get("users")))
{
for ...
... = 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 ...
... - 1);
}
//
// output
info "[" + l_ProductIDs + "]";
info l_ProductIDs.size();
}
Yields something like:
[
1234567890123,
2345678901234
]
2
Well that produces a lot of ID numbers ...
... photo to CRM:
// init
v_AppOwner = "joel_the_awesomest";
v_AppName = "joels_app";
v_ReportName = "My_Report";
// specify your CRM record ID for this product
v_CrmProductID = 1234567890123456789;
// ...
... 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 ...
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.