Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Period.adjustment for more information.
N/query Module
Period.adjustment
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
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=Period.adjustment
Example:
// Code Example 1
// 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
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_158289613523.html