How To Add Product Details into Invoice Section Of Zoho CRM using Map() ?
Hi,
I am currently adding the data from zoho creator to the invoices section of zoho crm. I using the following process shown in the url below,
https://kbase.creator.zoho.com/crm/push-to-zoho-crm
I could able to store the data related to the Invoices like Account Name,Subject.But i am not able to add data to the Product Details Section of Invoice.I want the "Product Name","Qty","List Price" to be stored along with the invoice data.
Below is the script i have written for mapping from zoho creator to zoho invoices crm.
- myFieldMap=map();
- myFieldMap.put("Invoice Date",input.Invoice_Date);
- myFieldMap.put(("Account Name"),input.Name);
- myFieldMap.put("Subject",input.Subject_field);
- response = zoho.crm.create("invoices",myFieldMap);
The above mapped fields like Subject,Account Name are the Invoices fields.
How can i map Product details like Product Name,Quantity,List Price,Unit price in the same script above,which will add data into Product Details Also.So when i click on a lead and check the invoice information, Product Name,Quantity,List Price,Unit Price should be displayed under Product Details section.
Please help me in implementing this functionality.