Assuming lineitem is required, the following 9 results were found.
for each m_RecordData in l_RecordData { // // apply changes to any of the line items l_NewLineItems = List(); if(!isNull(m_RecordData.get("id"))) { for each m_LineItem in m_RecordData.get("Quoted_Items") { m_NewLineItem = Map();...
The standard code you used to use even for REST API v2.0 would have been something like the following: // // init l_CrmLineItems = List(); // // some sample values v_CrmProductID = "123456789012345678"; // // build up product details JSON to send...
v_ContactFname = r_QuoteDetails.Contact_Name.first_name; v_ContactSname = r_QuoteDetails.Contact_Name.last_name; v_LineItem_Name = r_QuoteDetails.Product_Name; v_LineItem_Desc = r_QuoteDetails.Product_Description; v_LineItem_Price =...
} // // get line items from source and populate this subform l_QuotedItems = r_QuoteDetails.get("Product_Details"); c_LineItems = Collection(); for each m_LineItem in l_QuotedItems { r_Row = Quotes.Line_Items(); r_Row.Product =...
r_Tax.get("tax_id")); } info m_Taxes; // // set Tax ID for a sales order line item l_LineItems = List(); r_SoDetails = zoho.crm.getRecordById("Sales_Orders",0123456789012345678); for each r_LineItem in r_SoDetails.get("Product_Details") { m_LineItem =...
= Map(); // // evaluate v_BooksOrgID = organization.get("organization_id"); // // loop through line items for each m_LineItem in salesorder.get("line_items") { r_BooksItem = zoho.inventory.getRecordsByID("items", v_BooksOrgID, m_LineItem.get("item_id"),...
// // build up a reference map from the line items of the newly created sales order m_NewLineItems = Map(); for each r_NewLineItem in r_NewSoDetails.get("line_items") { v_NewSoItemID = r_NewLineItem.get("item_id"); v_NewSoLineItemQuantity =...
went with the Regex to truncate, we would need to get rid of the excess escaping backslashes: v_ListPrice = ifnull(m_ZCrm_LineItem.get("List_Price"),0); m_ZBooks_LineItem.put("rate",v_ListPrice.toString().replaceAll("^(\d+\.\d{2})\d*$", "$1", false));...
format with 2 decimals and thousandth separator, eg. 1,000.00): l_TemplateQuotedItems = List(); v_Index = 1; if(!isnull(r_LineItems.get("data"))) { l_LineItems = r_LineItems.get("data").get(0).get("Quoted_Items"); for each r_LineItem in l_LineItems {...