Zoho Deluge: Get All Orders from eBay https://www.joellipman.com/articles/crm/zoho/zoho-deluge/zoho-deluge-get-all-orders-from-ebay.html
29 March 2023
// // convert to xml and replace root nodes x_Params = m_Params.toXML(); x_Params = x_Params.toString().replaceFirst("",""); x_Params = x_Params.toString().replaceFirst("",""); // //info "Request Sent to eBay:"; //info x_Params; // // send the request...
Type: Article
Author: Joel Lipman
Category: Zoho Deluge
Language: *
ZohoBooks: Error Code 15: Ensure Billing Address has less than 100 characters https://www.joellipman.com/articles/crm/zoho/zoho-books/zohobooks-code-15-ensure-billing-address-has-less-than-100-characters.html
18 September 2023
type :GET connection:"zbooks" ]; for each r_Tax in r_Taxes.get("taxes") { m_Taxes.put(r_Tax.get("tax_percentage").toString(),r_Tax.get("tax_id")); } // // ---------------------- DETERMINE ZOHOBOOKS CUSTOMER ID ----------------------...
Type: Article
Author: Joel Lipman
Category: Zoho Books
Language: *
ZohoDesk & ZohoAnalytics: Display Ticket Attachments in Analytics Report https://www.joellipman.com/component/content/article/zohodesk-zohoanalytics-display-ticket-attachments-in-analytics-report.html?catid=129&Itemid=165
05 December 2023
m_Columns = Map(); m_Columns.put("columns", m_Data); m_Params = Map(); m_Params.put("CONFIG", m_Columns.toString()); // // in analytics, browse to the "Attachments" table and note the URL IDs after workspace and view v_WorkspaceID =...
Type: Article
Author: Joel Lipman
Category: Zoho Desk
Language: *
Zoho Books: Error 7008: There are no contact persons associated with this Invoice https://www.joellipman.com/articles/crm/zoho/zoho-books/zohobooks-error-7008-there-are-no-contact-persons-associated-with-this-invoice.html
07 March 2024
c_ThisOrder.ZohoBooks_Invoice_ID; r_ZB_InvoiceDetails = zoho.books.getRecordsByID("invoices",v_BooksOrgID,v_BooksInvoiceID.toString(),"zbooks"); if(r_ZB_InvoiceDetails.get("invoice") != null) { m_ZB_InvoiceDetails = r_ZB_InvoiceDetails.get("invoice");...
Type: Article
Author: Joel Lipman
Category: Zoho Books
Language: *
ZohoAnalytics & ZohoBooks: Custom Related List from Analytics https://www.joellipman.com/articles/crm/zoho/zoho-books/zohoanalytics-zohobooks-custom-related-list-from-analytics.html
09 July 2024
ID") == v_SalesOrderID) { m_Details = Map(); m_Details.put("po_date",m_DataRow.get("PO Date").toDate().toString("dd-MMM-yyyy")); m_Details.put("po_ref",{"value":m_DataRow.get("PO Ref"),"isExternal":true,"link":"https://books.zoho.eu/app/" + v_BooksOrgID...
Type: Article
Author: Joel Lipman
Category: Zoho Books
Language: *
Zoho CRM: Updating a CRM record Custom Line Items using API v7 https://www.joellipman.com/articles/crm/zoho/zoho-crm/zoho-crm-updating-a-crm-record-using-api-v7.html
18 December 2024
+ p_QuoteID; r_QuoteDetails = invokeurl [ url :v_Endpoint type :PUT parameters:m_Data.toString() connection:"zcrm" ]; info r_QuoteDetails; } Creating a record Pretty much the same as above but instead of the method/type PUT you will use POST with an...
Type: Article
Author: Joel Lipman
Category: Zoho CRM
Language: *
SSRS Zero Padding https://www.joellipman.com/component/content/article/ssrs-zero-padding.html?catid=75&Itemid=165
10 November 2011
The Padding Found this in a forum so thought I'd better make a note: Right("00000" & Fields!ERROR_CODE.Value.ToString, 5) -- "Right()" to say extract text from the right -- ".ToString" because it's likely you're doing this to a number and numbers just...
Type: Article
Author: Joel Lipman
Category: SQL Server Reporting Services
Language: *
Zoho Deluge: Convert Map to URL Parameters https://www.joellipman.com/articles/crm/zoho/zoho-deluge/zoho-deluge-convert-map-to-url-parameters.html
09 March 2020
= "https://api.joellipman.com/myapi"; l_UrlParams = List(); for each v_Key in m_Payload.keys() { l_UrlParams.add(v_Key.toString() + "=" + m_Payload.get(v_Key)); } info v_Endpoint + "?" + l_UrlParams.toString("&"); // yields...
Type: Article
Author: Joel Lipman
Category: Zoho Deluge
Language: en-GB
Zoho Cliq: Integrate OpenAI ChatGPT with Conversation Threads https://www.joellipman.com/articles/crm/zoho/zoho-other/zoho-cliq-integrate-openai-chatgpt-with-conversation-threads.html
06 March 2023
openai r_ChatGPTResponse = invokeurl [ url :"https://api.openai.com/v1/chat/completions" type :POST parameters:m_Params.toString() headers:m_Header detailed:true ]; if(r_ChatGPTResponse.get("responseCode") == 200) { // // retrieve the answer in text...
Type: Article
Author: Joel Lipman
Category: Zoho Other
Language: *
Zoho Deluge - Update Creator from CRM https://www.joellipman.com/articles/crm/zoho/zoho-deluge/zoho-deluge-update-creator-from-crm.html
18 February 2019
m_Params.put("scope","creatorapi") response = invokeurl [ url :v_EndPoint type :POST parameters:m_Params.toString() connection:"myzohocreatorconnection" ]; Successful Response: { "formname": [ "myForm", { "operation": [ "update", { "criteria":...
Type: Article
Author: Joel Lipman
Category: Zoho Deluge
Language: en-GB
Zoho Deluge - Some Useful Regular Expressions https://www.joellipman.com/articles/crm/zoho/zoho-deluge/zoho-deluge-some-useful-regular-expressions.html
31 May 2019
and David Beckham UK/US Decimal Separator and Commas: v_MyString = 1234.567; v_FormattedString = (v_MyString.round(2)).toString().replaceAll(("(?Link"; v_FormattedString = v_MyString.replaceAll("^.*href\s*=\s*\"([^\"]*)\".*$","$1"); // yields...
Type: Article
Author: Joel Lipman
Category: Zoho Deluge
Language: *
Zoho Deluge: Duplicate/Clone a Record https://www.joellipman.com/articles/crm/zoho/zoho-deluge/zoho-deluge-duplicate-clone-a-record.html
17 March 2020
cloned/duplicated record m_Clone.put("Invoice_Status","Repeated Invoice"); m_Clone.put("Invoice_Date",zoho.currentdate.toString("yyyy-MM-dd")); m_Clone.put("Due_Date",zoho.currentdate.addMonth(1).toStartOfMonth().subDay(1).toString("yyyy-MM-dd")); //...
Type: Article
Author: Joel Lipman
Category: Zoho Deluge
Language: *
Zoho Deluge: Convert Xero Date (Unix Timestamp) to Standard Date String https://www.joellipman.com/articles/crm/zoho/zoho-deluge/zoho-deluge-convert-xero-date-unix-timestamp-to-standard-date-string.html
04 May 2020
= v_XeroTime.replaceAll(v_RegexPattern,"$2",false); info v_ZohoTZ; v_ZohoTimeZone = if(isBlank(v_ZohoTZ), zoho.currenttime.toString("Z"), v_ZohoTZ); info v_ZohoTimeZone; v_ZohoTime = v_ZohoEpoch.toLong().toTime("yyyy-MM-dd HH:mm:ss", v_ZohoTimeZone);...
Type: Article
Author: Joel Lipman
Category: Zoho Deluge
Language: *
Zoho Deluge: Search Records with Special Characters (COQL) https://www.joellipman.com/articles/crm/zoho/zoho-deluge/zoho-deluge-search-records-with-special-characters-coql.html
28 August 2020
// // invokeurl r_Coql = invokeurl [ url :"https://www.zohoapis.eu/crm/v2/coql" type :POST parameters:m_Params.toString() connection:"crm_api_v2" ]; // // retrieve results if(!isNull(r_Coql.get("info"))) { v_MatchedCount =...
Type: Article
Author: Joel Lipman
Category: Zoho Deluge
Language: *
Zoho Deluge: Convert Map to HTML Table without a FOR loop https://www.joellipman.com/articles/crm/zoho/zoho-deluge/zoho-deluge-convert-map-to-html-table-without-a-for-loop.html
11 January 2021
m_Data.put("Last_Name","Person"); m_Data.put("id","2"); l_Data.add(m_Data); v_Data = l_Data.toString(); info v_Data; // yields // {"First_Name":"Joel","Last_Name":"Lipman","id":"1"},{"First_Name":"Another","Last_Name":"Person","id":"2"} Some formatting...
Type: Article
Author: Joel Lipman
Category: Zoho Deluge
Language: *
Zoho Projects: Deluge to Submit Custom Fields https://www.joellipman.com/articles/crm/zoho/zoho-projects/zoho-projects-deluge-to-submit-custom-fields.html
17 June 2021
"end_date": "12-12-2021", "percent_complete": "0", "order_sequence": "4", "priority": "None", "custom_fields": m_Custom.toString() }; r_CreateResponse = zoho.projects.create("joelsprojects",45678901234567890,"tasks",m_Params );
Type: Article
Author: Joel Lipman
Category: Zoho Projects
Language: *
Zoho Creator: Receive JSON via a Shopify Webhook https://www.joellipman.com/articles/crm/zoho/zoho-creator/zoho-creator-receive-json-via-a-shopify-webhook.html
15 July 2021
m_CreateRecord = Map(); m_CreateRecord.put("Event_Type","Order Update"); m_CreateRecord.put("JSON_Payload",m_Payload.toString()); r_CreateRecord =...
Type: Article
Author: Joel Lipman
Category: Zoho Creator
Language: *
Zoho Creator: Two submit buttons on a non-stateless form with 2 different redirects https://www.joellipman.com/articles/crm/zoho/zoho-creator/zoho-creator-two-submit-buttons-on-a-non-stateless-form.html
27 July 2021
Record Name"); } if(l_Errors.size() > 0) { alert "Please enter the following required fields:\n" + l_Errors.toString("\n"); } else { //... code to submit form/save to record here } Then save the data by adding the record or updating the existing record...
Type: Article
Author: Joel Lipman
Category: Zoho Creator
Language: *
Zoho Creator: Prevent Endless Loops On User Input of a Field https://www.joellipman.com/articles/crm/zoho/zoho-creator/zoho-creator-prevent-endless-loops-on-user-input-of-a-field.html
19 September 2021
l_FieldsToMonitor.add(input.Opportunity); v_eTag = zoho.encryption.md5(l_FieldsToMonitor.toString()); // // now compare to stored eTag if(v_eTag != input.eTag) { input.eTag = v_eTag; // do the main code that takes into consideration all the fields...
Type: Article
Author: Joel Lipman
Category: Zoho Creator
Language: *
ZohoCRM to ZohoBooks: Please ensure that the shipping_address has less than 100 characters. https://www.joellipman.com/articles/crm/zoho/zoho-books/zohocrm-to-zohobooks-please-ensure-that-the-shipping_address-has-less-than-100-characters.html
22 September 2021
API (change connection name to your own) r_UpdateSO = invokeurl [ url: v_Endpoint type: PUT parameters: m_ShippingAddress.toString() connection: "joels_connector" ]; info r_UpdateSO; } } Source(s): Zoho Community Forums - Zoho Inventory - Error: Please...
Type: Article
Author: Joel Lipman
Category: Zoho Books
Language: *