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!
exiting the search loop
The example below is from the docs. If I want to exit on the first interation (there could be more than one rec) Would I use return false? The docs do not describe what the return does. function loadAndRunSearch() { var mySearch = search.load({ id: 'customsearch_my_so_search' }); mySearch.run().each(function(result) { var entity = result.getValue({ name: 'entity' }); var subsidiary = result.getValue( name: 'subsidiary' }); return true; });