Period.adjustment

Note:

The content in this help topic pertains to SuiteScript 2.0.

Property Description

The adjustment of the period.

This property uses values from the query.PeriodAdjustment enum. If you create a period using query.createPeriod(options) and do not specify a value for the options.adjustment parameter, the default value of this property is query.PeriodAdjustment.NOT_LAST.

Type

string (read-only)

Module

N/query Module

Parent Object

query.Period

Sibling Object Members

Period Object Members

Since

2020.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 myPeriod = query.createPeriod({ code: query.PeriodCode.LAST_PERIOD, adjustment: query.PeriodAdjustment.ALL, type: query.PeriodType.END
}); var theAdjustment = myPeriod.adjustment;
...
// Add additional code 

          

Related Topics

query.Query
N/query Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices