Search Results opi_edw_transform_pkg
Overview
OPI_EDW_TRANSFORM_PKG is a PL/SQL package owned by the APPS schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It belongs to the Oracle Process Manufacturing (OPM) Intelligence / Enterprise Data Warehouse (EDW) integration layer, as indicated by the OPI prefix (Oracle Process Industries) and the EDW designation. The package is declared with AUTHID CURRENT_USER, meaning that at runtime its SQL statements execute with the privileges of the invoking user rather than the package owner. This is a deliberate design choice for data transformation routines that are called from ETL contexts, where the caller's schema and session context must be respected.
The package provides decode and transformation logic used to convert stored operational values into the forms required by downstream reporting and analytics structures. In practice it serves as a lightweight mapping and interpretation layer between OPM transactional data and the EDW star-schema dimensions and facts. The header comment ($Header: OPIMDECS.pls 115.8 2002/04/29) indicates the source file dates from the early OPM release lineage, and its core logic has been carried forward largely unchanged into the 12.1.1 and 12.2.2 code lines.
Key Procedures and Functions
The package exposes three documented functions, all of which return a NUMBER and are used to translate or decode raw values during transformation. No parameter lists are reproduced here beyond what the metadata documents.
- OPI_REV_PROD_DECODE — Decodes a revenue or production related value. Its documented parameters include an item foreign key, a line context string, a parent item foreign key, and a data value. The function resolves the appropriate decoded number for the given item and line context, which supports revenue and production reporting where item hierarchies and context-sensitive mappings are required.
- OPI_IPS_BEG_BAL_DECODE — Decodes a beginning balance value. It accepts a period flag and a data value, and returns the interpreted beginning-balance figure appropriate to the indicated period. This supports Inventory Planning and Scheduling (IPS) beginning-balance reporting.
- OPI_IPS_END_BAL_DECODE — Decodes an ending balance value. It follows the same period-flag and data-value signature pattern as the beginning-balance function and returns the corresponding ending-balance number for IPS reporting.
All three functions are pure transformation helpers: they accept stored numeric values plus contextual flags or keys and emit the decoded number consumed by the EDW load or reporting query.
Tables Accessed
The ETRM metadata for this package does not document any tables referenced through APPS synonyms. This is consistent with a package whose documented interface is limited to scalar decode functions; the functions may operate purely on their input arguments or may reference tables only indirectly through the calling ETL program. No read or write targets are recorded in the metadata, and none should be assumed.
Usage Notes
The package is invoked from ETL and reporting code that populates or queries the OPM EDW structures. Typical call sites include the OPM Intelligence collection and transformation programs, custom PL/SQL that materializes reporting tables, and any concurrent program or form that needs the same decode semantics as the warehouse load. Because the package is not referenced by any other documented package and exposes only three functions, it is best treated as a stable utility library rather than a business process entry point. When extending or debugging it, note the AUTHID CURRENT_USER declaration: callers must possess the necessary object privileges, since the package does not execute with owner rights. The 2002 header and unchanged function signatures suggest backward compatibility is intended across the 12.1.1 and 12.2.2 releases.
-
PACKAGE: APPS.OPI_EDW_TRANSFORM_PKG
12.1.1
-
PACKAGE BODY: APPS.OPI_EDW_TRANSFORM_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OPI_EDW_TRANSFORM_PKG, status:VALID,
-
PACKAGE: APPS.OPI_EDW_TRANSFORM_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OPI_EDW_TRANSFORM_PKG, status:VALID,
-
PACKAGE BODY: APPS.OPI_EDW_TRANSFORM_PKG
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
APPS.OPI_EDW_TRANSFORM_PKG dependencies on OPI_EDW_TRANSFORM_PKG
12.1.1
-
PACKAGE BODY: APPS.EDW_OWB_COLLECTION_UTIL
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,