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!
Creating CSV file from Search Results
I'm trying to create a SS2 script that executes a saved search and then parses the results into a CSV file to FTP to another system.
My search has several FormulaText and FormulaCurrency fields in it. When I try to parse the Search.results object all the formulatext fields have the same names so I can't access each unique column.
Two questions:
1. How do you differentiate different formula fields (result.getValue('formulatext') in the search result?
2. Does anyone have any suggestions on how to export search results? Ideally, there would be an existing function in the Search module to do this (like in the UI).