Search Results gl_historical_ranges_pkg
Overview
The APPS.GL_HISTORICAL_RANGES_PKG package body is a server-side PL/SQL component in the Oracle E-Business Suite General Ledger module. Its functional domain is the maintenance of historical rate ranges, the mechanism by which Oracle General Ledger records the validity periods (effective date ranges) associated with historical currency conversion rates. Historical rates are used for translation and revaluation of foreign-currency balances where the rate applicable to a transaction is a rate that was in effect on a prior date rather than the current daily rate.
The package is classified by ETRM as an OTHER API object rather than as a fully published public API such as the GL journal import interfaces. Its role is primarily supportive: it encapsulates the logic required to generate the primary key values and to maintain the integrity of rows held in the historical rate range table. The package is a VALID object in the APPS schema and is compiled against the standard EBS infrastructure libraries, including FND_MESSAGE and the application exception handling facilities (APP_EXCEPTION, APP_EXCEPTIONS). It is not referenced by any other database object, indicating that it is invoked directly rather than being called from a chain of dependent PL/SQL units.
Key Procedures and Functions
The ETRM metadata documents a single program unit within the package body:
- GET_UNIQUE_ID — This function supplies a unique identifier for a historical rate range record. It is used to obtain the surrogate primary key value required when a new row is inserted into the historical rate ranges table, ensuring that no two range definitions collide. The routine derives its value from the underlying table's sequence, shielding callers from having to reference the sequence directly.
No other procedures or functions are documented for this package. Parameter lists are intentionally omitted here, as they are not part of the ETRM documentation for this object; the package should be treated as an internal maintenance utility rather than a documented public API.
Tables Accessed
The package operates against a small, focused set of objects:
- GL_HISTORICAL_RATE_RANGES_S — the historical rate ranges table, which stores the effective date ranges and associated rate information used by General Ledger currency translation. This is the principal object touched by the package, and it is the table from which the unique identifier in GET_UNIQUE_ID is derived.
- DUAL — the standard Oracle single-row pseudo-table, accessed for scalar expression evaluation and control-of-flow logic within the package body.
Note that the table is reached through the APPS synonym layer, consistent with standard EBS coding practice. No other base tables are documented as dependencies.
Usage Notes
Because this package is not referenced by any other database object, it is not part of the dependency tree of the standard General Ledger forms, concurrent programs, or the GL interface APIs. It is therefore invoked either from within General Ledger's own internal currency-rate maintenance logic or from custom extensions that create and maintain historical rate ranges programmatically.
The search term gl_historical_rate_ranges_s corresponds to the table manipulated by this package; users investigating that table will find this package to be the code unit that allocates its key values. Typical invocation contexts include:
- Internal General Ledger routines that insert new historical rate range definitions.
- Custom PL/SQL code or database triggers that must generate a valid primary key before inserting into GL_HISTORICAL_RATE_RANGES_S.
- Data-migration or conversion scripts loading historical rates into a newly implemented EBS instance.
There is no evidence in the metadata of any upgrade-related or multi-org-sensitive behavior; the package is a low-level key-generation and maintenance utility. Because dependency documentation for this object is limited, developers should review the package body source in the APPS schema before relying on any behavior beyond the GET_UNIQUE_ID function, particularly with respect to error handling, which references FND_MESSAGE and the APP_EXCEPTIONS framework.
-
PACKAGE BODY: APPS.GL_HISTORICAL_RANGES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GL_HISTORICAL_RANGES_PKG, status:VALID,
-
PACKAGE: APPS.GL_HISTORICAL_RANGES_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GL_HISTORICAL_RANGES_PKG, status:VALID,
-
PACKAGE: APPS.GL_HISTORICAL_RANGES_PKG
12.1.1
-
PACKAGE: APPS.GL_HISTORICAL_RANGES_PKG
12.2.2
-
PACKAGE BODY: APPS.GL_HISTORICAL_RANGES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GL_HISTORICAL_RANGES_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_HISTORICAL_RANGES_PKG
12.1.1
-
PACKAGE: APPS.GL_HISTORICAL_RANGES_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GL_HISTORICAL_RANGES_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_HISTORICAL_RANGES_PKG
12.2.2
-
SYNONYM: APPS.GL_HISTORICAL_RATE_RANGES_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GL_HISTORICAL_RATE_RANGES_S, status:VALID,
-
SYNONYM: APPS.GL_HISTORICAL_RATE_RANGES_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GL_HISTORICAL_RATE_RANGES_S, 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
-
APPS.GL_HISTORICAL_RANGES_PKG dependencies on GL_HISTORICAL_RANGES_PKG
12.2.2
-
APPS.GL_HISTORICAL_RANGES_PKG dependencies on GL_HISTORICAL_RANGES_PKG
12.1.1
-
PACKAGE: APPS.APP_EXCEPTIONS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:APP_EXCEPTIONS, status:VALID,
-
PACKAGE: APPS.APP_EXCEPTIONS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:APP_EXCEPTIONS, status:VALID,
-
PACKAGE: APPS.APP_EXCEPTION
12.2.2
owner:APPS, object_type:PACKAGE, object_name:APP_EXCEPTION, status:VALID,
-
PACKAGE: APPS.APP_EXCEPTION
12.1.1
owner:APPS, object_type:PACKAGE, object_name:APP_EXCEPTION, status:VALID,
-
SYNONYM: PUBLIC.DUAL
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, status:VALID,
-
SYNONYM: PUBLIC.DUAL
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_MESSAGE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: APPS.FND_MESSAGE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,