Search Results local_same_as_remote
Overview
ISC_EDW_BOOK_SUM1_F_C is a PL/SQL package body in the APPS schema that supports the Oracle EBS Supply Chain Intelligence (ISC) operational data store, specifically the Booking Summary fact build process. It belongs to the ISI/ISC family of extract, transform, and load packages that populate the Enterprise Data Warehouse (EDW) staging and fact tables from transactional order data. The package encapsulates the "Book Summary1" collection logic, which aggregates order booking activity into a summary fact structure used by Supply Chain Intelligence dashboards and reports. The body declares global state variables — g_errbuf and g_retcode for concurrent manager error reporting, g_row_count for row-level auditing, and date-range globals (g_push_from_date, g_push_to_date, g_push_from_booked_date, g_push_to_booked_date) that parameterize the extraction window. Header comments indicate an origin date of 2003 with version 115.14. The package is classified under ETRM as OTHER rather than a standard public API, consistent with its role as an internal collection program.
Key Procedures and Functions
The documented entry point is PUSH, the main driving procedure that executes the Booking Summary fact load. Although the excerpt truncates before the PUSH declaration, the surrounding private constructs clarify its supporting machinery. Three private helpers are visible:
- TRUNCATE_STG — resolves the ISC schema name via FND_INSTALLATION.GET_APP_INFO and dynamically truncates the staging table ISC_EDW_BOOK_SUM1_FSTG using EXECUTE IMMEDIATE, providing a clean slate for each collection run.
- DELETE_STG — removes staging rows whose COLLECTION_STATUS is 'LOCAL READY' and whose INSTANCE matches the local instance code, keeping only unprocessed rows relevant to the current node.
- LOCAL_SAME_AS_REMOTE — returns a BOOLEAN indicating whether the local instance code equals the remote instance code fetched from edw_local_instance@edw_apps_to_wh over the database link. This governs whether the local collection should proceed or defer to the warehouse node.
Tables Accessed
The package reads and writes the following documented objects:
- EDW_LOCAL_INSTANCE — provides the local instance code used by DELETE_STG and LOCAL_SAME_AS_REMOTE.
- ISC_EDW_BOOK_SUM1_FSTG — the staging table truncated and filtered prior to extraction.
- ISC_TMP_BOOK_SUM1 and ISC_TMP_BOOK_SUM1_S — temporary working tables that hold intermediate booking summary results during PUSH processing.
- OE_ORDER_HEADERS_ALL and OE_ORDER_LINES_ALL — Order Management source tables supplying booking header and line transaction data that the fact build summarizes.
- DUAL — used for scalar and control-flow evaluations.
Usage Notes
ISC_EDW_BOOK_SUM1_F_C is not invoked from EBS forms; it is executed by the Supply Chain Intelligence collection framework, typically as a concurrent program or subordinate call within the EDW fact-build chain. Administrators run it during scheduled overnight collections that refresh Booking Summary facts in the ISC operational data store. The LOCAL_SAME_AS_REMOTE check confirms whether the local instance is the designated warehouse instance before performing local staging operations, ensuring distributed deployments do not double-collect. Because the package is classified OTHER, it carries no supported public API contract and should be considered internal; customizations should not call it directly but rather extend the supported collection programs. Reviewers tracing the "local_same_as_remote" reference should understand it as a private guard function, not a standalone utility.
-
PACKAGE BODY: APPS.ISC_EDW_BOOK_SUM1_F_C
12.1.1
-
PACKAGE BODY: APPS.OPI_EDW_OPM_JOB_RSRC_F_C
12.1.1
-
PACKAGE BODY: APPS.FII_PA_COST_F_C
12.1.1
-
APPS.OPI_EDW_OPM_JOB_RSRC_F_C SQL Statements
12.1.1
-
PACKAGE BODY: APPS.FII_PA_BUDGET_F_C
12.1.1
-
PACKAGE BODY: APPS.FII_PA_REVENUE_F_C
12.1.1
-
PACKAGE BODY: APPS.OPI_EDW_OPM_JOB_DETAIL_F_C
12.1.1
-
PACKAGE BODY: APPS.OPI_EDW_OPMINV_DAILY_STAT_F_C
12.1.1
-
PACKAGE BODY: APPS.FII_AP_INV_ON_HOLD_F_C
12.1.1
-
PACKAGE BODY: APPS.HR_EDW_WRK_CMPSTN_F_C
12.1.1
-
PACKAGE BODY: APPS.OPI_EDW_OPMCOGS_F_C
12.1.1
-
APPS.OPI_EDW_OPM_JOB_DETAIL_F_C SQL Statements
12.1.1
-
APPS.OPI_EDW_OPMINV_DAILY_STAT_F_C SQL Statements
12.1.1
-
PACKAGE BODY: APPS.FII_AP_HOLD_DATA_F_C
12.1.1
-
APPS.OPI_EDW_OPMCOGS_F_C SQL Statements
12.1.1
-
PACKAGE BODY: APPS.FII_AP_SCH_PAYMTS_F_C
12.1.1
-
PACKAGE BODY: APPS.FII_AP_INV_PAYMTS_F_C
12.1.1
-
PACKAGE BODY: APPS.FII_AP_INV_LINES_F_C
12.1.1
-
PACKAGE BODY: APPS.OPI_EDW_COGS_F_C
12.1.1
-
PACKAGE BODY: APPS.FII_AR_TRX_DIST_F_C
12.1.1
-
APPS.HR_EDW_WRK_CMPSTN_F_C dependencies on EDW_COLLECTION_UTIL
12.1.1
-
APPS.HR_EDW_WRK_CMPSTN_F_C dependencies on FND_MESSAGE
12.1.1
-
APPS.ISC_EDW_BOOK_SUM1_F_C dependencies on ISC_TMP_BOOK_SUM1
12.1.1
-
APPS.OPI_EDW_COGS_F_C dependencies on OPI_EDW_COGS_FSTG
12.1.1
-
APPS.HR_EDW_WRK_CMPSTN_F_C dependencies on HRI_EDW_DAILY_SALARY_DETAILS
12.1.1
-
APPS.FII_AP_INV_PAYMTS_F_C dependencies on FII_AP_INV_PAYMTS_FSTG
12.1.1
-
APPS.OPI_EDW_OPM_JOB_DETAIL_F_C dependencies on OPI_EDW_JOB_DETAIL_FSTG
12.1.1
-
APPS.OPI_EDW_OPMINV_DAILY_STAT_F_C dependencies on OPI_EDW_INV_DAILY_STAT_FSTG
12.1.1
-
APPS.FII_AP_INV_PAYMTS_F_C dependencies on EDW_LOG
12.1.1
-
APPS.OPI_EDW_OPM_JOB_RSRC_F_C dependencies on OPI_EDW_JOB_RSRC_FSTG
12.1.1
-
APPS.FII_AP_HOLD_DATA_F_C dependencies on FII_AP_HOLD_DATA_FSTG
12.1.1
-
APPS.OPI_EDW_OPMCOGS_F_C dependencies on OPI_EDW_COGS_FSTG
12.1.1
-
APPS.FII_AP_INV_ON_HOLD_F_C dependencies on EDW_LOG
12.1.1
-
APPS.FII_PA_COST_F_C dependencies on EDW_LOG
12.1.1
-
APPS.FII_AP_SCH_PAYMTS_F_C dependencies on FII_AP_SCH_PAYMTS_FSTG
12.1.1
-
APPS.FII_AP_INV_ON_HOLD_F_C dependencies on FII_AP_INV_ON_HOLD_FSTG
12.1.1
-
APPS.OPI_EDW_OPM_JOB_RSRC_F_C dependencies on EDW_LOG
12.1.1
-
APPS.FII_PA_BUDGET_F_C dependencies on FII_UTIL
12.1.1
-
APPS.OPI_EDW_OPMINV_DAILY_STAT_F_C dependencies on EDW_LOG
12.1.1
-
APPS.FII_PA_COST_F_C dependencies on FII_UTIL
12.1.1
-
APPS.FII_AP_INV_LINES_F_C dependencies on FII_AP_INV_LINES_FSTG
12.1.1
-
APPS.OPI_EDW_OPM_JOB_DETAIL_F_C dependencies on EDW_LOG
12.1.1
-
APPS.FII_AR_TRX_DIST_F_C dependencies on FII_AR_TRX_DIST_FSTG
12.1.1
-
APPS.FII_AP_HOLD_DATA_F_C dependencies on EDW_LOG
12.1.1
-
APPS.OPI_EDW_OPMCOGS_F_C dependencies on EDW_LOG
12.1.1
-
APPS.FII_PA_REVENUE_F_C dependencies on EDW_LOG
12.1.1
-
APPS.FII_AP_SCH_PAYMTS_F_C dependencies on EDW_LOG
12.1.1
-
APPS.FII_AP_INV_LINES_F_C dependencies on EDW_LOG
12.1.1
-
APPS.ISC_EDW_BOOK_SUM1_F_C dependencies on EDW_LOG
12.1.1
-
APPS.FII_PA_BUDGET_F_C dependencies on EDW_LOG
12.1.1