Fetching subform for sales orders modules using COQL
I'm using the sales order module, I am trying to fetch a list of orders that belong to a customerId using COQL. While fetching the order, I am not able to retrieve order items(which is a subform). I am using v3 of coql.I tried using the following thing: Fetching Ordered_Items field in the query. Query - {
"select_query": "select Ordered_Items from Sales_Orders where id is not null"
}
Error:- {
"code": "INVALID_QUERY",
"details": {
"column_name": "Ordered_Items"
},
"message": "unsupported column",
"status": "error"
}
{
"select_query": "SELECT SO_Number, Subject, Grand_Total, Ordered_Items.Product_Name, Ordered_Items.Quantity, Ordered_Items.List_Price, Ordered_Items.Discount, Ordered_Items.Tax, Ordered_Items.Net_Total FROM Sales_Orders WHERE SO_Number = '6244979000000735014'"
}
Error:
{
"code": "INVALID_QUERY",
"details": {
"column_name": "Ordered_Items.Tax"
},
"message": "column given seems to be invalid",
"status": "error"
}
Can you help me fetch sales orders along with the ordered items?
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
-
-
-
-
-
-
-
-
-
Sticky Posts
Kaizen #152 - Client Script Support for the new Canvas Record Forms
Hello everyone! Have you ever wanted to trigger actions on click of a canvas button, icon, or text mandatory forms in Create/Edit and Clone Pages? Have you ever wanted to control how elements behave on the new Canvas Record Forms? This can be achieved
Extension pointers for integrating Zoho CRM with Zoho products #8: Upload and manage Zoho Workdrive folders and files from within Zoho CRM
Keeping records on your customers and business prospects is essential for tracking data, conducting follow-ups, and running a business smoothly. When you use two separate applications, and store relevant data in each, checking and tracking data becomes
Kaizen #142: How to Navigate to Another Page in Zoho CRM using Client Script
Hello everyone! Welcome back to another exciting Kaizen post. In this post, let us see how you can you navigate to different Pages using Client Script. In this Kaizen post, Need to Navigate to different Pages Client Script ZDKs related to navigation A.
Extension pointers #13: Handle cases with personalized solutions using custom actions
In our last post, we detailed the steps involved in creating a custom action and the workflow from the developer and end user's side. Now let's look at a working example of how we can create a custom action and implement it in a Zoho CRM account to make
Extension pointers - Simple yet significant pointers #13: On change of field value for CRM variables
CRM variables provide global access to a variable across an entire extension. They also help in the storage of user-specific data provided by the user at the time of installation, which can later be fetched to perform data functionalities. Additionally,
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 WorkDrive 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.