Filter.summary

Note:

The content in this help topic pertains to SuiteScript 2.0.

Property Description

Summary type for the search filter. Use this property to get or set the value of the summary type.

See search.Summary.

Type

search.Summary

Supported Script Types

Client and server scripts

For more information, see SuiteScript 2.x Script Types.

Module

N/search Module

Since

2015.2

Errors

Error Code

Message

Thrown If

SSS_INVALID_SRCH_FILTER_SUM

A search.Filter contains an invalid summary type: {1}.

Unknown summary type is set.

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 
...
var mySearchFilter = search.createFilter({
    name: 'entity',
    operator: search.Operator.ISNOTEMPTY,
    summary: search.Summary.GROUP
});
...

//Add additional code 

        

Related Topics

search.Filter
N/search Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices