Modules

filter

 

Objects/Functions

module (N/search)

SuiteScript 2.0

Search.searchId

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Search.searchId for more information.

N/search Module
Search.searchId
Property Description: Internal ID of the search. The internal ID is available only when the search is either loaded with search.load(options) or after is has been saved with Search.save(). Typical values are 55 or 234 or 87, not a value like customsearch_mysearch. Any ID prefixed with customsearch is a script ID, not the internal system ID for a search.
Type: number (read-only)
Supported Script Types: All script types For more information, see SuiteScript 2.0 Script Types.
Module: N/search Module
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Search.searchId

Example:

// Code Example 1
//Add additional code
//...
var mySearch = search.load({
id: 'customsearch_my_so_search'
});
log.debug({
title: 'search id #: ',
details: mySearch.searchId
});
//...
//Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_458892150878.html