Modules

filter

 

Objects/Functions

module (N/search)

SuiteScript 2.0

search.Summary

search.Summary.{|GROUP,COUNT,SUM,AVG,MIN,MAX|}

N/search Module
search.Summary
Enum Description: Enumeration that holds the values for summary types used by the Column.summary or Filter.summary properties. For more information about each summary type, see SuiteScript 1.0 Search Summary Types. JavaScript does not include an enumeration type. The SuiteScript 2.0 documentation utilizes the term enumeration (or enum) to describe the following: a plain JavaScript object with a flat, map-like structure. Within this object, each key points to a read-only string value.
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.Summary

Example:

// Code Example 1
//Add additional code
//...
var mySearchFilter = search.createFilter({
name: 'entity',
summary: search.Summary.GROUP
});
//...
//Add additional code

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