Search Results gl_period_statuses_pkg
Overview
APPS.GL_PERIOD_STATUSES_PKG is a server-side PL/SQL package in the Oracle E-Business Suite General Ledger module. Its purpose is to manage the rows that constitute the accounting period status calendar for every ledger defined in the application. The GL_PERIOD_STATUSES table determines, for each combination of ledger, period, and period type, whether that period is Open, Closed, Permanently Closed, or Never Opened. Because almost every GL and subledger transaction validates the target period against this table, the package is central to period control and to the period-close process in both release 12.1.1 and 12.2.2.
The package supplies the programmatic interface used by the Period Statuses form and by the concurrent programs that populate and extend the period calendar. It also exposes utility functions that other GL packages and external modules call to derive period identifiers, default periods, and relative period offsets. The documented package metadata classifies the object as a general-purpose API (classification OTHER) rather than a public, formally versioned open interface, so its procedures are primarily intended for internal GL use and for controlled extension by oracle-adjacent code.
Key Procedures and Functions
The ETRM metadata documents 24 procedures and functions. They fall into recognizable groups:
- Lifecycle and setup procedures — INITIALIZE_PERIOD_STATUSES builds the initial set of period status rows for a ledger and period type. INSERT_PERIOD, INSERT_LED_PS, INSERT_PS_API, and INSERT_ROW insert individual period status records through different call paths (direct, ledger-specific, or API-style). DELETE_PERIOD and DELETE_ROW remove period status rows, while UPDATE_PERIOD and UPDATE_ROW modify existing ones.
- Retrieval and navigation functions — GET_NEXT_PERIOD returns the period following a given period, supporting period-shift logic. SELECT_YEAR_1ST_PERIOD and SELECT_PRIOR_YEAR_1ST_PERIOD return the first period of the current or prior fiscal year. SELECT_ENCUMBRANCE_PERIODS returns the periods relevant to encumbrance processing. GET_EXTENDED_QUARTER and GET_EXTENDED_YEAR derive extended quarter and year identifiers used in reporting and calendar expansion.
- Query and record helpers — SELECT_ROW and SELECT_COLUMNS read a single row or a defined column list from GL_PERIOD_STATUSES. LOCK_ROW performs a SELECT FOR UPDATE to serialize concurrent maintenance. UPDATE_ROW_DFF updates descriptive flexfield attribute columns on a period status row.
- Defaults — DEFAULT_ACTUAL_PERIOD identifies the default actual period for a ledger, typically the current open period used when a form or interface does not specify one.
Because the package body is marked VALID and is not referenced by any database object, these procedures are invoked as top-level calls rather than through dependencies.
Tables Accessed
- GL_PERIOD_STATUSES — the primary target table; the package inserts, queries, locks, updates, and deletes status rows here.
- GL_PERIODS and GL_PERIOD_TYPES — provide the period definitions and period type attributes for validation and calendar expansion.
- GL_LEDGERS — supplies ledger attributes and the ledger-to-period-type association.
- GL_DATE_PERIOD_MAP — maps accounting dates to periods, used when deriving periods from dates.
- GL_ACCESS_SET_LEDGERS and GL_APPLICATION_GROUPS — enforce ledger access and application grouping rules during setup.
- FND_PRODUCT_INSTALLATIONS — confirms installed applications and release levels.
- FND_MESSAGE, APP_EXCEPTION, and APP_EXCEPTIONS — provide message text and standardized error raising and logging.
Usage Notes
In standard EBS operation, the package is driven by the GL Period Statuses form and by the concurrent programs that open and close periods, including the Period Close and Open Period processes. Administrators creating a new ledger rely on INITIALIZE_PERIOD_STATUSES to seed the calendar, and ongoing close activity uses the update and delete procedures. Custom code and extensions should call the package only where a supported form action cannot accomplish the same result, because direct manipulation of GL_PERIOD_STATUSES can bypass calendar integrity checks. Developers integrating subledgers or external systems typically use the retrieval functions such as GET_NEXT_PERIOD and DEFAULT_ACTUAL_PERIOD to resolve period identifiers, while the DFF update procedure is used when period status descriptive flexfields must be maintained programmatically.
-
PACKAGE BODY: APPS.GL_PERIOD_STATUSES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GL_PERIOD_STATUSES_PKG, status:VALID,
-
PACKAGE: APPS.GL_PERIOD_STATUSES_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GL_PERIOD_STATUSES_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_PERIOD_STATUSES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GL_PERIOD_STATUSES_PKG, status:VALID,
-
PACKAGE: APPS.GL_PERIOD_STATUSES_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GL_PERIOD_STATUSES_PKG, status:VALID,
-
SYNONYM: APPS.GL_APPLICATION_GROUPS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GL_APPLICATION_GROUPS, status:VALID,
-
SYNONYM: APPS.GL_APPLICATION_GROUPS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GL_APPLICATION_GROUPS, status:VALID,
-
PACKAGE BODY: APPS.GL_ALLOC_HISTORY_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GL_ALLOC_HISTORY_PKG, status:VALID,
-
PACKAGE BODY: APPS.GLXJEENT_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GLXJEENT_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_PERIODS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GL_PERIODS_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_ALLOC_HISTORY_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GL_ALLOC_HISTORY_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_RJE_ACCESS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GL_RJE_ACCESS_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_FUNDS_AVAILABLE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GL_FUNDS_AVAILABLE_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_PERIODS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_PERIODS_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_RJE_ACCESS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GL_RJE_ACCESS_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_PERIODS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_PERIODS_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_PERIODS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GL_PERIODS_PKG, status:VALID,
-
PACKAGE BODY: APPS.GLXJEENT_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GLXJEENT_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_FUNDS_AVAILABLE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GL_FUNDS_AVAILABLE_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_AUTO_ALLOC_WF_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GL_AUTO_ALLOC_WF_PKG, status:VALID,
-
PACKAGE BODY: APPS.PO_CORE_S3
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_CORE_S3, status:VALID,
-
PACKAGE BODY: APPS.GL_AUTO_ALLOC_WF_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GL_AUTO_ALLOC_WF_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_JE_HEADERS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GL_JE_HEADERS_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_JE_HEADERS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GL_JE_HEADERS_PKG, status:VALID,
-
TABLE: APPS.GL_ACCESS_SET_LEDGERS
12.1.1
owner:APPS, object_type:TABLE, object_name:GL_ACCESS_SET_LEDGERS, status:VALID,
-
PACKAGE BODY: APPS.FUN_NET_CANCEL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FUN_NET_CANCEL_PKG, status:VALID,
-
PACKAGE BODY: APPS.FUN_NET_CANCEL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FUN_NET_CANCEL_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_LEDGERS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GL_LEDGERS_PKG, status:VALID,
-
SYNONYM: APPS.GL_DATE_PERIOD_MAP
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GL_DATE_PERIOD_MAP, status:VALID,
-
TABLE: APPS.GL_ACCESS_SET_LEDGERS
12.2.2
owner:APPS, object_type:TABLE, fnd_design_data:SQLGL.GL_ACCESS_SET_LEDGERS, object_name:GL_ACCESS_SET_LEDGERS, status:VALID,
-
SYNONYM: APPS.GL_PERIOD_TYPES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GL_PERIOD_TYPES, status:VALID,
-
PACKAGE BODY: APPS.GL_LEDGERS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GL_LEDGERS_PKG, status:VALID,
-
SYNONYM: APPS.GL_DATE_PERIOD_MAP
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GL_DATE_PERIOD_MAP, status:VALID,
-
SYNONYM: APPS.GL_PERIOD_TYPES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GL_PERIOD_TYPES, status:VALID,
-
PACKAGE BODY: APPS.FUN_NET_ARAP_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FUN_NET_ARAP_PKG, status:VALID,
-
PACKAGE BODY: APPS.FUN_NET_ARAP_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FUN_NET_ARAP_PKG, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.GL_PERIOD_STATUSES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GL_PERIOD_STATUSES, status:VALID,
-
PACKAGE: APPS.GL_PERIOD_STATUSES_PKG
12.2.2
-
SYNONYM: APPS.FND_PRODUCT_INSTALLATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_PRODUCT_INSTALLATIONS, status:VALID,
-
PACKAGE: APPS.GL_PERIOD_STATUSES_PKG
12.1.1
-
SYNONYM: APPS.GL_PERIOD_STATUSES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GL_PERIOD_STATUSES, status:VALID,
-
SYNONYM: APPS.FND_PRODUCT_INSTALLATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_PRODUCT_INSTALLATIONS, status:VALID,
-
APPS.FUN_NET_CANCEL_PKG dependencies on GL_PERIOD_STATUSES_PKG
12.2.2
-
APPS.PA_PERIODS_PKG dependencies on GL_PERIOD_STATUSES_PKG
12.1.1
-
SYNONYM: APPS.GL_PERIODS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GL_PERIODS, status:VALID,
-
APPS.GLXJEENT_PKG dependencies on GL_PERIOD_STATUSES_PKG
12.2.2
-
APPS.GL_JE_HEADERS_PKG dependencies on GL_PERIOD_STATUSES_PKG
12.2.2