Skip to content
NetSuite Reference

accountingperiod

control

The period calendar: one row per period, hierarchical through parent, with year/quarter/adjustment flags and the close and lock state that governs what can still post.

Module: FoundationNo partition column
Grain note

this record exposes no lastmodifieddate — there is no watermark column here, so incremental extraction must full-refresh the period calendar.

Notes

isposting marks the postable base periods; isyear / isquarter rows are rollup parents and must be excluded before summing anything by period. transaction.postingperiod points here, and it is not the same thing as trandate.

What the badges mean
master
Data class: what the record holds — master data, transaction documents, control/configuration, or a documented convenience record. NetSuite has no product-family or schema axis, so this is the whole classification.

Structural facts — how the record is partitioned, not a trap by itself

Subsidiary-scoped
The record carries a subsidiary column that partitions its rows, so the generated SQL anchors it. On a few records the column is a multiselect rather than a scalar foreign key — the table notes say which (see the quirks guide).
Location-scoped
The record carries a location column — an org segment in NetSuite before it is a warehouse — and the generated SQL anchors it the same way.

Join & extract hazards — verify before you rely on this

View
A documented convenience record rather than a stored one. Land the records it stands in for instead of assuming it extracts as-is — the table notes say where the rows actually live.
In field listings, the Key chip marks a primary-key field, and the T/F chip marks a check-box column Connect returns as a 'T'/'F' string.

Fields

14 fields · 1 key

14 fields.

Table fields: position, field name, description, data type, and flags. 14 fields.
#FieldDescriptionTypeFlags
1idInternal IDNUMBER
Primary-key field
2periodnamePeriod nameVARCHAR
3startdatePeriod start dateDATE
The record's primary analysis date — a real DATE/TIMESTAMP column, no conversion needed
4enddatePeriod end dateDATE
5parentParent period (internal id)NUMBER
6ispostingPostable base periodVARCHAR
7isyearPeriod is a year rollupVARCHAR
8isquarterPeriod is a quarter rollupVARCHAR
9isadjustAdjustment periodVARCHAR
10closedPeriod closedVARCHAR
11closedondateDate the period was closedDATE
12alllockedAll subledgers lockedVARCHAR
13allownonglchangesNon-GL changes still allowedVARCHAR
14isinactiveInactiveVARCHAR

Field provenance: hand-curated. 1 key field.

Boilerplate SQL

Starting point for reading the Connect-landed copy of accountingperiod on Databricks — dates are real DATE/TIMESTAMP columns and need no conversion, and the partition anchors are already in place. This record carries no modification stamp, and the snippet says so where the watermark would otherwise go. Set your Unity Catalog location, schema, and filter values below; they’re substituted into the SQL and the copy button.

Query parameters

5 parameters not filled: <catalog>, <schema>, <id>, <DATE_FROM>, <DATE_TO>

-- ============================================================
-- Table  : accountingperiod — The period calendar: one row per period, hierarchical through parent, with year/quarter/adjustment flags and the close and lock state that governs what can still post.
-- Purpose: Column-selected read of accountingperiod — auto-generated from field metadata
-- Grain  : One row per id
-- Caution: this record exposes no lastmodifieddate — there is no watermark column here, so incremental extraction must full-refresh the period calendar.
-- Notes  : Auto-generated skeleton for NetSuite data landed in your lakehouse from a SuiteAnalytics Connect (or SuiteQL) extract — it never addresses live NetSuite. Identifiers are lowercase as NetSuite2.com renders them. Select-type columns hold numeric internal ids: BUILTIN.DF() display resolution exists only at extraction time, so decode ids by joining the landed list records; see quirks #display-values. Check-box columns arrive as 'T'/'F' strings; see quirks #tf-booleans.
-- ============================================================
SELECT
  t.id AS "Internal ID",
  t.periodname AS "Period name",
  t.startdate AS "Period start date",
  t.enddate AS "Period end date",
  t.parent AS "Parent period (internal id)",
  t.isposting AS "Postable base period",  -- 'T'/'F' string — compare = 'T', or CAST via CASE; see quirks #tf-booleans
  t.isyear AS "Period is a year rollup",  -- 'T'/'F' string — compare = 'T', or CAST via CASE; see quirks #tf-booleans
  t.isquarter AS "Period is a quarter rollup",  -- 'T'/'F' string — compare = 'T', or CAST via CASE; see quirks #tf-booleans
  t.isadjust AS "Adjustment period",  -- 'T'/'F' string — compare = 'T', or CAST via CASE; see quirks #tf-booleans
  t.closed AS "Period closed",  -- 'T'/'F' string — compare = 'T', or CAST via CASE; see quirks #tf-booleans
  t.closedondate AS "Date the period was closed",
  t.alllocked AS "All subledgers locked",  -- 'T'/'F' string — compare = 'T', or CAST via CASE; see quirks #tf-booleans
  t.allownonglchanges AS "Non-GL changes still allowed",  -- 'T'/'F' string — compare = 'T', or CAST via CASE; see quirks #tf-booleans
  t.isinactive AS "Inactive"  -- 'T'/'F' string — compare = 'T', or CAST via CASE; see quirks #tf-booleans
FROM <catalog>.<schema>.accountingperiod t
WHERE
  1 = 1  -- no partition column on this record; the filters below are optional
  -- AND t.id = <id>
  -- AND t.startdate >= DATE '<DATE_FROM>'
  -- AND t.startdate <= DATE '<DATE_TO>'
  -- no lastmodifieddate on this record — there is no watermark column, so incremental extraction must full-refresh it (see quirks #deletes)
ORDER BY t.id;

Verified August 2026 · Analytics Browser 2021.1 · corroborated 2025.2

Select columns hold internal ids, not display text — see decoding display values.

Relationships

Diagram of 1-hop neighbors — join details below. Document-link edges are highlighted; they chain one document to the next and are the joins newcomers most often get wrong.

Join details

  • transactionaccountingperiodforeign key · N:1
    ON transaction.postingperiod = accountingperiod.id
  • accountingperiodaccountingperiodforeign key · N:1
    ON accountingperiod1.parent = accountingperiod2.id
  • consolidatedexchangerateaccountingperiodforeign key · N:1
    ON consolidatedexchangerate.postingperiod = accountingperiod.id
  • budgetsaccountingperiodforeign key · N:1
    ON budgets.year = accountingperiod.id

Browse more Foundation tables

More Foundation tables

Maintained by Summit Analytics, a supply chain analytics practice. The tools and references are free — the consulting is selective.

Part of the Summit Analytics reference library.

Work with the practice

Not affiliated with or endorsed by Oracle or NetSuite. NetSuite is a registered trademark of Oracle and/or its affiliates.