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 |
Type |
search.Column[] | string[] |
Module |
|
Since |
2015.2 |
Errors
Error Code |
Thrown If |
---|---|
|
The value passed in was not a string or search.Column Object |
Syntax
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,
columns: ['entity', 'subsidiary', 'name', 'currency'],
});
...
//Add additional code