Search Results oki_utl_pvt
Overview
OKI_UTL_PVT is a private PL/SQL package body in the APPS schema that supports Oracle's EBS contract management and order fulfillment functionality, specifically within the OKI (Order Information / Contracts) module family. The "PVT" suffix indicates that this is a private package, meaning its procedures and functions are not part of the public API surface exposed to external callers, and it is intended only for internal use by other OKI packages within the application. It functions primarily as a utility helper, providing shared logic for date derivation from GL periods and for navigating the relationships between contract, sales order, and organization data used throughout the OKI module.
In Oracle EBS 12.1.1 and 12.2.2, packages of this type serve as the internal computational backbone for higher-level public APIs and concurrent programs. OKI_UTL_PVT centralizes reusable operations—most notably GL period date resolution—so that multiple dependent packages can invoke consistent logic without duplicating code. The ETRM metadata confirms the package is VALID and that it is referenced by ten other packages, confirming its role as a foundational dependency rather than a standalone user-facing component.
Key Procedures and Functions
The documented package exposes one procedure or function, GET_GL_PERIOD_DATE. Based on its name and the package's dependency on GL_PERIODS and GL_SETS_OF_BOOKS, this routine resolves a calendar date corresponding to a given accounting period within a specified set of books. It is typically used to determine the start or end date of a GL period so that date-driven logic elsewhere in the OKI module—such as coverage period calculations or sales order header processing—can operate against the correct accounting timeframe rather than a raw date value.
The metadata does not disclose the parameter list, and no parameter details are invented here. What can be stated definitively is that GET_GL_PERIOD_DATE depends on GL_PERIODS and GL_SETS_OF_BOOKS, indicating it accepts or derives an accounting period reference and returns a GL period date. This function is the sole documented entry point in the package, though private packages often contain additional internal helpers not enumerated in the ETRM extract.
Tables Accessed
The package reads from several documented tables, accessed through APPS synonyms:
- GL_PERIODS — Supplies the mapping between an accounting period name and its start/end dates used by GET_GL_PERIOD_DATE.
- GL_SETS_OF_BOOKS — Identifies the accounting set of books against which period dates are resolved.
- OKI_SALES_K_HDRS — The OKI sales order/contract header table, used to contextualize order-level data during processing.
- OKI_BIN_DISP_LKUP — A lookup table supporting bin or display-related contract attributes.
- OKI_COV_PRD_LINES — Contract coverage period lines, used when aligning contract coverage windows with period dates.
- HR_ORGANIZATION_INFORMATION — Provides organization-level attributes, typically to determine the correct operating unit or organization context for lookup and period resolution.
The package also depends on FND_PROFILE (for profile option values) and calls into OKI_UTL_PUB, the public utility package, as well as referencing itself recursively.
Usage Notes
Because OKI_UTL_PVT is a private package, it is not intended to be called directly from forms, concurrent program definitions, or customer-developed code. Instead, it is invoked indirectly by the ten other database objects that reference it—almost certainly other OKI packages (public APIs and private helpers) that require the GL period date utility and the associated contract lookup logic.
Typical invocation patterns include:
- Public API chains — Public OKI packages (such as OKI_UTL_PUB and related contract APIs) call this private package internally during order and contract processing.
- Concurrent programs — Processes that must align contract coverage periods with accounting periods invoke the underlying logic through dependent public packages.
- Custom extensions — Developers extending the OKI module should not call OKI_UTL_PVT directly; they should use the public API surface. Custom code that calls it risks breakage on patching.
It is important to note that the ETRM metadata states the package is not referenced by any database object in the dependency "referenced by" direction captured there, while other records indicate ten referencing packages; this discrepancy likely reflects dependency capture at different points in time or scope. Administrators should verify current dependencies in their specific 12.1.1 or 12.2.2 instance before relying on the package for customization.
-
PACKAGE BODY: APPS.OKI_UTL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_UTL_PVT, status:VALID,
-
SYNONYM: APPS.OKI_BIN_DISP_LKUP
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKI_BIN_DISP_LKUP, status:VALID,
-
PACKAGE: APPS.OKI_UTL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKI_UTL_PVT, status:VALID,
-
SYNONYM: APPS.OKI_SALES_K_HDRS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKI_SALES_K_HDRS, status:VALID,
-
PACKAGE BODY: APPS.OKI_LOAD_WBC_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_LOAD_WBC_PVT, status:VALID,
-
PACKAGE: APPS.OKI_UTL_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKI_UTL_PUB, status:VALID,
-
SYNONYM: APPS.OKI_COV_PRD_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKI_COV_PRD_LINES, status:VALID,
-
PACKAGE: APPS.OKI_UTL_PVT
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.OKI_LOAD_YRA_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_LOAD_YRA_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKI_LOAD_FBO_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_LOAD_FBO_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKI_LOAD_RBK_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_LOAD_RBK_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKI_LOAD_SGR_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_LOAD_SGR_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKI_LOAD_ENR_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_LOAD_ENR_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKI_LOAD_ETR_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_LOAD_ETR_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKI_LOAD_RBS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_LOAD_RBS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKI_LOAD_OKV_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_LOAD_OKV_PVT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.OKI_LOAD_RAG_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_LOAD_RAG_PVT, status:VALID,
-
SYNONYM: APPS.GL_PERIODS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GL_PERIODS, status:VALID,
-
PACKAGE BODY: APPS.OKI_UTL_PVT
12.1.1
-
APPS.OKI_LOAD_YRA_PVT dependencies on OKI_UTL_PVT
12.1.1
-
APPS.OKI_LOAD_OKV_PVT dependencies on OKI_UTL_PVT
12.1.1
-
APPS.OKI_LOAD_RBK_PVT dependencies on OKI_UTL_PVT
12.1.1
-
APPS.OKI_LOAD_RAG_PVT dependencies on OKI_UTL_PVT
12.1.1
-
APPS.OKI_LOAD_RBS_PVT dependencies on OKI_UTL_PVT
12.1.1
-
APPS.OKI_LOAD_WBC_PVT dependencies on OKI_UTL_PVT
12.1.1
-
APPS.OKI_LOAD_FBO_PVT dependencies on OKI_UTL_PVT
12.1.1
-
APPS.OKI_LOAD_ETR_PVT dependencies on OKI_UTL_PVT
12.1.1
-
APPS.OKI_LOAD_SGR_PVT dependencies on OKI_UTL_PVT
12.1.1
-
APPS.OKI_LOAD_ENR_PVT dependencies on OKI_UTL_PVT
12.1.1
-
APPS.OKI_UTL_PVT dependencies on OKI_UTL_PVT
12.1.1
-
SYNONYM: APPS.HR_ORGANIZATION_INFORMATION
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_ORGANIZATION_INFORMATION, status:VALID,
-
VIEW: APPS.GL_SETS_OF_BOOKS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_SETS_OF_BOOKS, object_name:GL_SETS_OF_BOOKS, status:VALID,
-
PACKAGE: APPS.FND_PROFILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
eTRM - SQLGL Tables and Views
12.1.1
description: USSGL transaction codes ,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
eTRM - SQLGL Tables and Views
12.1.1
description: USSGL transaction codes ,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,