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!
N/search Module
Hello,
This is pretty simple one as well, Is there a way to generate adhoc search without creating or loading from the saved search in 2.0?
I didn't want to create a saved search and delete later. Is there a way we can do it dynamically? With SuiteScript 1.0 nlapiSearchRecord('recordtype', null, filters, columns); will not create a saved search but we can get the result from it. Need something equivalent to this in SuiteScript 2.0.
I tried this
var sSearch = search.create({
type: search.Type.RECORD_TYPE,
title: 'SomeTitle2',
id:null,
columns:columns,
filters: filters
});
sSearch.save();
but it still saved to the saved search with auto generated script id