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!
Trying to get Transactions + Items via Saved Search in C#
I'm writing C# code to retrieve a list of Transactions with certain criteria from NetSuite. My goal is to loop through each Transaction result, and in each Transaction loop I want to loop through all items associated to the current Transaction. I'm building XML nodes as I go to export the Transaction information in XML format.
I've set up a Saved Search in NetSuite and run a TransactionSearchAdvanced in my C# code. It seems the way the results are structured with SearchRows as such:
1. TransactionA - Item1
2. TransactionA - Item2
3. TransactionA - Item3
4. TransactionB - Item2
5. TransactionB - Item4
I'm trying to find a way to get Transactions and Items similar to how running a regular TransactionSearch works, where the results are in a recordList like so: