Hello,
I work with a manufacturing business and we are trying to get products that are listed in the ZOHO CRM as sales orders to transfer to a new app in Creator without the price but with product information. Currently the info from the sales order does transfer to Creator but only the first product! How do I get all of the products to transfer? Can someone help me with my code? I would really appreciate it!
sales_order = zoho.crm.getRecordById("Salesorders",input.order_id);
line_items_str=sales_order.get("product");
line_items=line_items_str.toMap();
quantity=(line_items.get("Quantity")).toLong();
form_data={ "Product_Name" : line_items.get("Product Name"), "Quantity" : quantity };
info response;