Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Search.columns for more information.
N/search Module
Search.columns
Property Description:
Columns to return for this search as an array of search.Column objects or a string array of column names.
You set this value with an array of search.Column objects or a single search.Column to overwrite any prior return columns for the search. Use null to set an empty array and remove any existing columns on this search.
Type:
search.Column[] | 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.columns
Example:
// Code Example 1
//Add additional code
//...
function createSearch() {
var mySalesOrderSearch = search.create({
type: search.Type.SALES_ORDER,
columns: ['entity', 'subsidiary', 'name', 'currency'],
});
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_456374450683.html