Page.pagedData

Property Description

The set of paged query results that this page is from.

Type

query.PagedData (read-only)

Module

N/query Module

Parent Object

query.Page

Sibling Object Members

Page Object Members

Since

2018.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/query Module Script Samples.

            // Add additional code
...
    var myCustomerQuery = query.create({
        type: query.Type.CUSTOMER
    });
    myCustomerQuery.columns = [
        myCustomerQuery.createColumn({
            fieldId: 'entityid'
        })
    ];
    var myPagedResults = myCustomerQuery.runPaged({
        pageSize: 10
    });
    var iterator = myPagedResults.iterator();
    iterator.each(function(resultPage) {
        var currentPage = resultPage.value;
        var thePagedData = currentPage.pagedData;
        return true;
    });
...
// Add additional code 

          

Related Topics

General Notices