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 |
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
...
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