PagedData.count

Property Description

The total number of results when Search.runPaged(options) was executed.

Type

number

This property is read-only.

Module

N/search Module

Since

2016.1

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 mySearch = search.create({
    type: search.Type.CUSTOMER,
    columns: [
        'entityid',
        'email'
    ]
});

var myPagedResults = mySearch.runPaged({
    pageSize: 10
});

var theCount = myPagedResults.count;
...
// Add additional code 

        

Related Topics

General Notices