Search Results bil_bi_opdtl_f_pkg
Overview
BIL_BI_OPDTL_F_PKG is a PL/SQL package owned by the APPS schema in Oracle E-Business Suite (12.1.1 and 12.2.2). It supports the Business Intelligence (BI) staging and fact-loading infrastructure for opportunity detail data drawn from the Oracle Sales (AS) and Bilateral (BIL) modules. Its purpose is to populate and refresh the fact table BIL_BI_OPDTL_F, which holds opportunity-level detail records used by BI reporting and analytics. The package implements the standard EBS dimensional-load pattern: a one-time full initialization followed by ongoing incremental refreshes, so that analytical content stays current without requiring a complete rebuild. The $Header comment (bilos1s.pls 120.1, dated 2005/09/22) indicates the file originated as a consolidated BI load script and has been retained largely unchanged across releases.
Key Procedures and Functions
The package exposes two public procedures, both with error-handling signatures (errbuf/retcode) that conform to the concurrent-program standard so the routine can be driven by the Concurrent Manager.
- INIT_LOAD — Performs the initial, full load of opportunity detail data into the BI fact structure. It accepts parameters for a from-date and a truncate option, allowing the caller to bound the extraction window and to optionally clear existing fact rows before loading. INIT_LOAD is intended for first-time population or for controlled rebuilds.
- INCR_LOAD — Performs the incremental load, picking up only new or changed source records since the prior successful run. INCR_LOAD is the procedure referenced by the "incr_load" search term and is the routine normally scheduled as a recurring concurrent request.
No private functions are exposed in the package specification, and the specification contains no other public entry points.
Tables Accessed
Metadata records the following objects, referenced through APPS synonyms:
- BIL_BI_OPDTL_STG — the staging table where extracted source data is landed before transformation into the fact table.
- BIL_BI_OPDTL_F — the target fact table for opportunity detail.
- AS_SALES_CREDITS and AS_SALES_CREDITS_DENORM — source tables providing sales credit allocations and the denormalized credit view used when attributing opportunity revenue to salespersons.
- AS_SALES_LEAD_OPPORTUNITY — the driving source of opportunity and lead records.
- BIL_BI_CURRENCY_RATE — supplies exchange rates for currency conversion of amount columns.
- BIS_REFRESH_LOG — the BI refresh log used to record load runs and to determine the last successful refresh point for incremental processing.
- DBMS_SQL — the Oracle-supplied dynamic SQL package, used internally (typically for dynamic query construction or cursor handling) rather than as a data source.
Reads are concentrated on the AS_ tables, BIL_BI_OPDTL_STG, BIL_BI_CURRENCY_RATE, and BIS_REFRESH_LOG; writes target BIL_BI_OPDTL_STG, BIL_BI_OPDTL_F, and BIS_REFRESH_LOG.
Usage Notes
The package is not referenced by any other documented package, so it functions as a load entry point rather than a shared utility. It is normally invoked in one of two ways: (1) through concurrent programs registered against the INIT_LOAD and INCR_LOAD procedures, with the Concurrent Manager supplying errbuf and retcode; or (2) from custom PL/SQL that calls the procedures directly, passing the standard concurrent parameters. INIT_LOAD runs once at implementation or during a controlled rebuild, using its from-date and truncate arguments to scope and reset the data. INCR_LOAD is then scheduled as a recurring request, relying on BIS_REFRESH_LOG to identify the incremental high-water mark. Because both procedures use the IN OUT NOCOPY concurrent error signature, callers must declare and inspect errbuf and retcode to detect failures. No alternate overloads of these procedures are documented in the 12.1.1 metadata.
-
PACKAGE: APPS.BIL_BI_OPDTL_F_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BIL_BI_OPDTL_F_PKG, status:VALID,
-
PACKAGE: APPS.BIL_BI_OPDTL_F_PKG
12.1.1
-
PACKAGE BODY: APPS.BIL_BI_OPDTL_F_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BIL_BI_OPDTL_F_PKG, status:VALID,
-
SYNONYM: APPS.AS_SALES_LEAD_OPPORTUNITY
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AS_SALES_LEAD_OPPORTUNITY, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.BIL_BI_OPDTL_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:BIL_BI_OPDTL_F, status:VALID,
-
PACKAGE: APPS.BIL_BI_UTIL_COLLECTION_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BIL_BI_UTIL_COLLECTION_PKG, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.BIL_BI_OPDTL_STG
12.1.1
owner:APPS, object_type:SYNONYM, object_name:BIL_BI_OPDTL_STG, status:VALID,
-
SYNONYM: APPS.BIL_BI_CURRENCY_RATE
12.1.1
owner:APPS, object_type:SYNONYM, object_name:BIL_BI_CURRENCY_RATE, status:VALID,
-
SYNONYM: APPS.BIS_REFRESH_LOG
12.1.1
owner:APPS, object_type:SYNONYM, object_name:BIS_REFRESH_LOG, status:VALID,
-
SYNONYM: APPS.AS_SALES_CREDITS_DENORM
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AS_SALES_CREDITS_DENORM, status:VALID,
-
SYNONYM: APPS.AS_SALES_CREDITS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AS_SALES_CREDITS, status:VALID,
-
PACKAGE: APPS.FII_CURRENCY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FII_CURRENCY, status:VALID,
-
PACKAGE: APPS.FII_TIME_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FII_TIME_API, status:VALID,
-
PACKAGE: APPS.BIS_COMMON_PARAMETERS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BIS_COMMON_PARAMETERS, status:VALID,
-
PACKAGE: APPS.BIS_COLLECTION_UTILITIES
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BIS_COLLECTION_UTILITIES, status:VALID,
-
APPS.BIL_BI_OPDTL_F_PKG dependencies on BIL_BI_OPDTL_F_PKG
12.1.1
-
APPS.BIL_BI_OPDTL_F_PKG dependencies on BIL_BI_OPDTL_F
12.1.1
-
PACKAGE BODY: APPS.BIL_BI_OPDTL_F_PKG
12.1.1
-
PACKAGE: APPS.FND_DATE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_DATE, status:VALID,
-
SYNONYM: PUBLIC.DBMS_SQL
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_SQL, status:VALID,
-
PACKAGE: APPS.FND_LOG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_LOG, status:VALID,
-
PACKAGE: APPS.FND_PROFILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, 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,