Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
retrieving hierarchical data
i have a custom record that represents hierarchical data, a parent/child type relationship.
eg. component 1 uses component 2 & 3, component 3 uses component 4, 5 & 6. in addition component 1 might have quantity 5 of component 2, and quantity 8 of component 3.
Given a node in the hierarchy i want to be able to get all their descendants as a single list.
I wanted to be able to do this either via a saved search or SuiteAnalytics dataset/query.
In regular PL/SQL there is 'CONNECT BY PRIOR' or CTEs WITH recursion which I think are designed for hierarchical data. I havent had much luck with using them with SuiteAnalytics/SuiteQL in NetSuite. I have no idea how to do this with saved searches.