Modules

filter

 

Objects/Functions

module (N/search)

SuiteScript 2.0

Search.title

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

N/search Module
Search.title
Property Description: Title for a saved search. Use this property to set the title for a search before you save it for the first time. You can also set the title for a search when you create it with search.create(options). The Search.title property is required to save a search with Search.save().
Type: string
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.title

Example:

// Code Example 1
//Add additional code
//...
function createSearch() {
var mySalesOrderSearch = search.create({
type: search.Type.SALES_ORDER,
title: 'My SalesOrder Search',
id: 'customsearch_my_so_search',
});
mySalesOrderSearch.save();
//...
//Add additional code

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