Quotes updates in CRM
Quotes updates in CRM
Hi,
I want to update a quote in CRM from my Zoho Creator.
I use that code :
- updated_itemsList = List:Map();
- sl_no = 1;
- for each sales_prodsList in Synchronized_Sales_Products [(Quote_ID_of_CRM == cur_Quote_ID_of_crm && Use_for_Insert == false)]
- {
- updated_itemsList.add({ "no" : sl_no, "Product Id" : sales_prodsList.Product_Id_of_CRM, "Product Name" : sales_prodsList.Product_Name, "Quantity" : sales_prodsList.Quantity, "List Price" : sales_prodsList.List_Price, "Discount" : sales_prodsList.Discount });
- sl_no = (sl_no + 1);
- }
- resp = zoho.crm.updateRecord("Quotes", cur_Quote_ID_of_crm, { "Purchase Order" : quotesList6.Purchase_Order, "CONTACTID" : quotesList6.crm_Contact_ID, "Subject" : quotesList6.Subject_field, "Valid Till" : quotesList6.Valid_Till, "Product Details" : updated_itemsList });
Update success fully the quotes information but not update the product details?
Can anyone help me?