Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Column.name for more information.
N/search Module
Column.name
Property Description:
Name of a search column as a string.
Type:
string (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=Column.name
Example:
// Code Example 1
// Add additional code
//...
// Create a search definition that includes search columns
var mySearch = search.create({
type: search.Type.CUSTOMER,
columns: [
search.createColumn({
name: 'entityid'
}),
search.createColumn({
name: 'email'
})
]
});
// Retrieve the first search column and log its name
var myColumn = mySearch.columns[0];
log.debug(myColumn.name);
// Run the search
var results = mySearch.run();
//...
// Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_456729370116.html