search.Search

Note:

The content in this help topic pertains to SuiteScript 2.0.

Object Description

Encapsulates a NetSuite search. Use the methods available to search.Search to create a search, run a search, or save a search.

Note:

You do not need to save the search to run it.

For a complete list of this object’s methods and properties, see Search Object Members.

Supported Script Types

Client and server scripts

For more information, see SuiteScript 2.x Script Types.

Module

N/search Module

Since

2015.2

Syntax
Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/search Module Script Samples.

          //Add additional code
...
var mySearch = search.load({
    id: 'customsearch_my_so_search'
});
...
//Add additional code 

        

Related Topics

N/search Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices