How to create a new sales order from deluge?
I have a creator app that creates a new sales order. For the line items, I'm specifying the product Id, quantity, rate, description, and the item total in the following code.
- subformRows = List();
- subform = Map();
- subform.put("product_id", "2728329000000450184");
- subform.put("quantity", "2");
- subform.put("rate", "3.25");
- subform.put("description", "This is a description.");
- subform.put("item_total", "3.25");
- subformRows.add(subform);
From there, the subformRows list is being added to the sales order map which is then created. If I look at the line items in my sales orders, everything appears except for the product id. For some strange reason, the product id field in line items is blank. Everything else appears (quantity being 2, rate is 3.25, ect) but the product_id field is blank. Does anyone know why it's blank?
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.