Modules
Objects/Functions
SuiteScript 2.0
query.PeriodAdjustment.{|ALL,NOT_LAST|}
N/query Module
query.PeriodAdjustment
Enum Description:
Holds the string values for adjustment types for a period.
This enum is used to pass the adjustment argument to query.createPeriod(options).
JavaScript does not include an enumeration type. The SuiteScript 2.0 documentation uses the term enumeration (or enum) to describe a plain JavaScript object with a flat, map-like structure. Within this object, each key points to a read-only string value.
Module:
N/query Module
Sibling Module Members:
N/query Module Members
Since:
2020.1
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=query.PeriodAdjustment
Example:
// Code Example 1
// Add additional code
//...
var myPeriod = query.createPeriod({
code: query.PeriodCode.LAST_PERIOD,
adjustment: query.PeriodAdjustment.ALL,
type: query.PeriodType.END
});
//...
// Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_158289865548.html