Search Results period_flag
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
-
APPS.OPI_EDW_IDS_CALC SQL Statements
12.1.1
-
APPS.BSC_DIMENSION_KEYS_PKG SQL Statements
12.1.1
-
APPS.OPI_PMI_IDS_SUMMARY SQL Statements
12.1.1
-
VIEW: APPS.MSC_EXCEPTION_THRESHOLDS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MSC.MSC_EXCEPTION_THRESHOLDS_V, object_name:MSC_EXCEPTION_THRESHOLDS_V, status:VALID,
-
TABLE: BSC.BSC_RPT_KEYS
12.1.1
owner:BSC, object_type:TABLE, fnd_design_data:BSC.BSC_RPT_KEYS, object_name:BSC_RPT_KEYS, status:VALID,
-
VIEW: PJI.PJI_FM_XBS_ACCUM_TMP1_DEBUG#
12.2.2
-
View: MSC_EXCEPTION_THRESHOLDS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MSC.MSC_EXCEPTION_THRESHOLDS_V, object_name:MSC_EXCEPTION_THRESHOLDS_V, status:VALID, product: MSC - Advanced Supply Chain Planning , implementation_dba_data: APPS.MSC_EXCEPTION_THRESHOLDS_V ,
-
TABLE: OPI.OPI_PMI_IDS_TEMP
12.1.1
owner:OPI, object_type:TABLE, fnd_design_data:OPI.OPI_PMI_IDS_TEMP, object_name:OPI_PMI_IDS_TEMP, status:VALID,
-
VIEW: APPS.MSC_EXCEPTION_THRESHOLDS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MSC.MSC_EXCEPTION_THRESHOLDS_V, object_name:MSC_EXCEPTION_THRESHOLDS_V, status:VALID,
-
VIEW: APPS.MSC_EXCEPTION_THRESHOLDS_V
12.2.2
-
View: MSC_EXCEPTION_THRESHOLDS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MSC.MSC_EXCEPTION_THRESHOLDS_V, object_name:MSC_EXCEPTION_THRESHOLDS_V, status:VALID, product: MSC - Advanced Supply Chain Planning , implementation_dba_data: APPS.MSC_EXCEPTION_THRESHOLDS_V ,
-
VIEW: APPS.MSC_EXCEPTION_THRESHOLDS_V
12.1.1
-
TABLE: OPI.OPI_PMI_INV_DAILY_STAT_TEMP
12.1.1
owner:OPI, object_type:TABLE, fnd_design_data:OPI.OPI_PMI_INV_DAILY_STAT_TEMP, object_name:OPI_PMI_INV_DAILY_STAT_TEMP, status:VALID,
-
VIEW: PJI.PJI_FM_XBS_ACCUM_INT#
12.2.2
-
PACKAGE BODY: APPS.OPI_PMI_IDS_SUMMARY
12.1.1
-
TABLE: PJI.PJI_FM_XBS_ACCUM_TMP1_DEBUG
12.1.1
owner:PJI, object_type:TABLE, fnd_design_data:PJI.PJI_FM_XBS_ACCUM_TMP1_DEBUG, object_name:PJI_FM_XBS_ACCUM_TMP1_DEBUG, status:VALID,
-
TABLE: OPI.OPI_PMI_INV_DAILY_STAT_SUM
12.1.1
owner:OPI, object_type:TABLE, fnd_design_data:OPI.OPI_PMI_INV_DAILY_STAT_SUM, object_name:OPI_PMI_INV_DAILY_STAT_SUM, status:VALID,
-
VIEW: PJI.PJI_FM_XBS_ACCUM_TMP1_DEBUG#
12.2.2
owner:PJI, object_type:VIEW, object_name:PJI_FM_XBS_ACCUM_TMP1_DEBUG#, status:VALID,
-
APPS.BSC_BSC_XTD_PKG SQL Statements
12.1.1
-
APPS.OPI_EDW_INV_DAILY_STAT_F_C SQL Statements
12.1.1
-
TABLE: PJI.PJI_FM_XBS_ACCUM_TMP1_DEBUG
12.2.2
owner:PJI, object_type:TABLE, fnd_design_data:PJI.PJI_FM_XBS_ACCUM_TMP1_DEBUG, object_name:PJI_FM_XBS_ACCUM_TMP1_DEBUG, status:VALID,
-
View: OPI_EDW_OPIINV_DAILY_STAT_FCV
12.2.2
product: OPI - Operations Intelligence (Obsolete) , description: This is the source view for extracting Invetory Daily Transaction Summary data from the discrete Manufacturing source tables. , implementation_dba_data: Not implemented in this database ,
-
View: OPI_EDW_OPIINV_DAILY_STAT_FCV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OPI.OPI_EDW_OPIINV_DAILY_STAT_FCV, object_name:OPI_EDW_OPIINV_DAILY_STAT_FCV, status:VALID, product: OPI - Operations Intelligence , description: This is the source view for extracting Invetory Daily Transaction Summary data from the discrete Manufacturing source tables. , implementation_dba_data: APPS.OPI_EDW_OPIINV_DAILY_STAT_FCV ,
-
View: OPI_EDW_OPMINV_DAILY_STAT_FCV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OPI.OPI_EDW_OPMINV_DAILY_STAT_FCV, object_name:OPI_EDW_OPMINV_DAILY_STAT_FCV, status:VALID, product: OPI - Operations Intelligence , description: This is the source view for extracting Invetory Daily Transaction Summary data from the Process Manufacturing source tables. , implementation_dba_data: APPS.OPI_EDW_OPMINV_DAILY_STAT_FCV ,
-
View: OPI_EDW_OPMINV_DAILY_STAT_FCV
12.2.2
product: OPI - Operations Intelligence (Obsolete) , description: This is the source view for extracting Invetory Daily Transaction Summary data from the Process Manufacturing source tables. , implementation_dba_data: Not implemented in this database ,
-
APPS.PA_INTEGRATION_UTILS SQL Statements
12.2.2
-
VIEW: APPS.OPI_EDW_OPIINV_DAILY_STAT_FCV
12.1.1
-
TABLE: PJI.PJI_FM_XBS_ACCUM_TMP4
12.2.2
owner:PJI, object_type:TABLE, fnd_design_data:PJI.PJI_FM_XBS_ACCUM_TMP4, object_name:PJI_FM_XBS_ACCUM_TMP4, status:VALID,
-
VIEW: PJI.PJI_FM_XBS_ACCUM_INT#
12.2.2
owner:PJI, object_type:VIEW, object_name:PJI_FM_XBS_ACCUM_INT#, status:VALID,
-
PACKAGE BODY: APPS.OPI_EDW_IDS_CALC
12.1.1
-
TABLE: PJI.PJI_FM_XBS_ACCUM_INT
12.2.2
owner:PJI, object_type:TABLE, fnd_design_data:PJI.PJI_FM_XBS_ACCUM_INT, object_name:PJI_FM_XBS_ACCUM_INT, status:VALID,
-
APPS.OPI_EDW_OPMINV_DAILY_STAT_F_C SQL Statements
12.1.1
-
APPS.PJI_FM_XBS_ACCUM_UTILS SQL Statements
12.1.1
-
VIEW: APPS.OPI_EDW_OPMINV_DAILY_STAT_FCV
12.1.1
-
TABLE: OPI.OPI_IDS_PUSH_LOG
12.1.1
owner:OPI, object_type:TABLE, fnd_design_data:OPI.OPI_IDS_PUSH_LOG, object_name:OPI_IDS_PUSH_LOG, status:VALID,
-
TABLE: PJI.PJI_FM_XBS_ACCUM_TMP1
12.1.1
owner:PJI, object_type:TABLE, object_name:PJI_FM_XBS_ACCUM_TMP1, status:VALID,
-
APPS.PJI_FM_XBS_ACCUM_UTILS SQL Statements
12.2.2
-
PACKAGE BODY: APPS.BSC_DIMENSION_KEYS_PKG
12.1.1
-
TABLE: OPI.OPI_EDW_INV_DAILY_STAT_F
12.1.1
owner:OPI, object_type:TABLE, fnd_design_data:OPI.OPI_EDW_INV_DAILY_STAT_F, object_name:OPI_EDW_INV_DAILY_STAT_F, status:VALID,
-
TABLE: OPI.OPI_EDW_INV_DAILY_STAT_F_DLOG
12.1.1
owner:OPI, object_type:TABLE, fnd_design_data:OPI.OPI_EDW_INV_DAILY_STAT_F_DLOG, object_name:OPI_EDW_INV_DAILY_STAT_F_DLOG, status:VALID,
-
VIEW: APPS.OPI_EDW_OPIINV_DAILY_STAT_FCV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OPI.OPI_EDW_OPIINV_DAILY_STAT_FCV, object_name:OPI_EDW_OPIINV_DAILY_STAT_FCV, status:VALID,
-
TABLE: OPI.OPI_EDW_INV_DAILY_STAT_FSTG
12.1.1
owner:OPI, object_type:TABLE, fnd_design_data:OPI.OPI_EDW_INV_DAILY_STAT_FSTG, object_name:OPI_EDW_INV_DAILY_STAT_FSTG, status:VALID,
-
PACKAGE BODY: APPS.PA_INTEGRATION_UTILS
12.2.2
-
PACKAGE BODY: APPS.PJI_FM_XBS_ACCUM_UTILS
12.1.1
-
PACKAGE BODY: APPS.OPI_EDW_INV_DAILY_STAT_F_C
12.1.1
-
VIEW: APPS.OPI_EDW_OPMINV_DAILY_STAT_FCV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OPI.OPI_EDW_OPMINV_DAILY_STAT_FCV, object_name:OPI_EDW_OPMINV_DAILY_STAT_FCV, status:VALID,
-
PACKAGE BODY: APPS.OPI_EDW_OPMINV_DAILY_STAT_F_C
12.1.1
-
PACKAGE BODY: APPS.PJI_FM_XBS_ACCUM_UTILS
12.2.2