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 :

  1. updated_itemsList = List:Map();
  2. sl_no = 1;
  3. for each sales_prodsList in Synchronized_Sales_Products  [(Quote_ID_of_CRM == cur_Quote_ID_of_crm && Use_for_Insert == false)]
  4. {
  5.       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 });
  6. sl_no = (sl_no  +  1);
  7.  }

  8. 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?