| Product Name * |
Select the product name.This field is mandatory |
Lookup |
- |
| Quantity in Stock |
Displays the stock quantity. |
Numeric |
Integers |
| Quantity* |
Specify the quantity for which the sales order has to be generated. This field is mandatory |
Numeric |
Integers |
| Unit Price* |
Displays the unit price of the product. |
Currency |
However, since one sale order contains several <"Product Name", "Quantity","Unit Price"> rows, the "Product Name" field value for one sale order means what? a list of all name of products referenced by this sale order?
I've following code in Creator:
- saleOrders = zoho.crm.getRecords("SalesOrders");
- for each saleOrder in saleOrders
- {
- productNames = saleOrder.get("Product Names");
- quantities = saleOrder.get("Quantity");
- unitPrices = saleOrder.get("Unit Price");
- }
But the running results of productNames/quatites/unitPrices are all just null.
How can I list all <"Product Name", "Quantity","Unit Price"> rows for a CRM sale order in my Creator application?