Search Results c_ok
Overview
ISC_DEPOT_MARGIN_ETL_PKG is an extract-transform-load (ETL) package in the Oracle E-Business Suite Depot Repair (Depot Margin) module. It populates the depot repair margin fact tables — ISC_DR_CHARGES_F and ISC_DR_COSTS_F — which underpin depot repair profitability and margin analysis. The package body declares file-scope variables that hold the operational context for each run, including the ISC schema name (g_isc_schema), the global start date (g_global_start_date), primary and secondary currency codes (g_global_curr_code, g_global_sec_curr_code), primary and secondary rate types (g_global_rate_type, g_global_sec_rate_type), and standard concurrent request context values such as g_user_id, g_login_id, g_program_id, g_request_id, and related program identifiers. Two constants, g_charges_object_name ('ISC_DR_CHARGES_F') and g_costs_object_name ('ISC_DR_COSTS_F'), identify the target fact tables.
A key detail surfaced by the source excerpt is the presence of the c_ok style convention used across Oracle EBS ETL packages. While the excerpt shows c_errbuf_size as the truncation limit for error messages, c_ok is the standard constant returned by Oracle EBS load packages to indicate successful completion. Callers of this package inspect the numeric return value of each loader function against c_ok to determine whether the ETL completed without error. A value other than c_ok typically signals a validation or data error requiring investigation.
Key Procedures and Functions
- CHARGES_INITIAL_LOAD — Performs the full initial population of the depot repair charges fact table (ISC_DR_CHARGES_F). Invoked when the depot margin data warehouse is first seeded.
- COSTS_INITIAL_LOAD — Performs the full initial population of the depot repair costs fact table (ISC_DR_COSTS_F).
- CHARGES_INCR_LOAD — Applies incremental (delta) loads to the charges fact table for ongoing periodic refreshes.
- COSTS_INCR_LOAD — Applies incremental (delta) loads to the costs fact table.
- check_initial_load_setup — A private helper function returning L_SETUP_GOOD / status. It validates prerequisite setup, populating g_global_start_date from bis_common_parameters.get_global_start_date and g_global_curr_code from bis_common_parameters.get_currency.
- err_mesg — A private error-formatting function that composes '
# : ' truncated to c_errbuf_size.
Tables Accessed
- ISC_DR_CHARGES_F / ISC_DR_COSTS_F — Target fact tables written by the load procedures.
- ISC_DR_COSTS_STG / ISC_DR_COSTS_CONV_TMP — Staging and currency-conversion work tables for costs.
- ISC_DR_INC / ISC_DR_REPAIR_ORDERS_F — Incremental tracking and repair order fact data.
- CSD_REPAIR_ACTUALS / CSD_REPAIR_ACTUAL_LINES / CSD_REPAIR_JOB_XREF / CS_ESTIMATE_DETAILS — Source repair actuals, estimate lines, and job cross-references.
- CS_BILLING_TYPE_CATEGORIES / CS_TXN_BILLING_TYPES — Billing classification lookups.
- ISC_BOOK_SUM2_F / WIP_PERIOD_BALANCES / HR_ORGANIZATION_INFORMATION — Book summary, WIP balances, and organization (depot) attributes.
Usage Notes
The package is invoked through Oracle EBS concurrent programs that schedule the initial and incremental depot margin ETL loads, and it is not referenced by any other package (0 dependents). Each loader returns a numeric status; callers compare the result to c_ok to detect failure. Because the loaders rely on bis_common_parameters setup — global start date, currency, and rate type — that configuration must be complete before any load runs, as enforce
-
PACKAGE BODY: APPS.ISC_DEPOT_MARGIN_ETL_PKG
12.1.1
-
PACKAGE BODY: APPS.ISC_DEPOT_BACKLOG_ETL_PKG
12.1.1
-
PACKAGE: APPS.ISC_DEPOT_MARGIN_ETL_PKG
12.1.1
-
PACKAGE BODY: APPS.CSD_HVR_BI_PVT
12.1.1
-
PACKAGE BODY: APPS.CSD_HVR_BI_PVT
12.2.2
-
PACKAGE: APPS.ISC_DEPOT_MTTR_ETL_PKG
12.1.1
-
PACKAGE BODY: APPS.CSD_RETURNS_BI_PVT
12.2.2
-
PACKAGE: APPS.CSD_RETURNS_BI_PVT
12.2.2
-
PACKAGE BODY: APPS.ISC_DEPOT_MTTR_ETL_PKG
12.1.1
-
PACKAGE: APPS.CSD_HVR_BI_PVT
12.2.2
-
PACKAGE: APPS.CSD_HVR_BI_PVT
12.1.1
-
PACKAGE BODY: APPS.RCI_CTRL_DETAIL_ETL_PKG
12.1.1
-
PACKAGE BODY: APPS.RCI_UNMTG_RISKS_ETL_PKG
12.1.1
-
PACKAGE BODY: APPS.RCI_PROC_DETAIL_ETL_PKG
12.1.1
-
PACKAGE BODY: APPS.RCI_ORG_CERT_ETL_PKG
12.1.1
-
PACKAGE BODY: APPS.RCI_ORG_DFCY_ETL_PKG
12.1.1
-
PACKAGE BODY: APPS.RCI_COMPL_ENV_CHG_SUMM_PKG
12.1.1
-
PACKAGE BODY: APPS.RCI_OPEN_REMED_SUMM_PKG
12.1.1
-
APPS.CSD_HVR_BI_PVT dependencies on CSD_HVR_BI_PVT
12.2.2
-
PACKAGE: APPS.CSD_SOO_PVT
12.2.2
-
APPS.CSD_RETURNS_BI_PVT dependencies on CSD_RETURNS_BI_PVT
12.2.2
-
APPS.ISC_DEPOT_MARGIN_ETL_PKG dependencies on ISC_DEPOT_BACKLOG_ETL_PKG
12.1.1
-
APPS.CSD_HVR_BI_PVT dependencies on CSD_HVR_BI_PVT
12.1.1
-
APPS.ISC_DEPOT_MTTR_ETL_PKG dependencies on ISC_DEPOT_BACKLOG_ETL_PKG
12.1.1
-
APPS.RCI_CTRL_DETAIL_ETL_PKG dependencies on BIS_COLLECTION_UTILITIES
12.1.1
-
APPS.ISC_DEPOT_MARGIN_ETL_PKG dependencies on ISC_DR_REPAIR_ORDERS_F
12.1.1
-
APPS.RCI_UNMTG_RISKS_ETL_PKG dependencies on BIS_COLLECTION_UTILITIES
12.1.1
-
APPS.RCI_ORG_DFCY_ETL_PKG dependencies on BIS_COLLECTION_UTILITIES
12.1.1
-
APPS.ISC_DEPOT_MARGIN_ETL_PKG dependencies on FND_DATE
12.1.1
-
APPS.ISC_DEPOT_MARGIN_ETL_PKG dependencies on FND_GLOBAL
12.1.1
-
APPS.CSD_RETURNS_BI_PVT dependencies on FND_FILE
12.2.2
-
APPS.CSD_SOO_PVT dependencies on FND_PROFILE
12.2.2
-
APPS.CSD_HVR_BI_PVT dependencies on FND_FILE
12.1.1
-
APPS.ISC_DEPOT_MTTR_ETL_PKG dependencies on ISC_DR_REPAIR_ORDERS_F
12.1.1
-
APPS.ISC_DEPOT_MTTR_ETL_PKG dependencies on FND_DATE
12.1.1
-
APPS.CSD_HVR_BI_PVT dependencies on FND_FILE
12.2.2
-
APPS.ISC_DEPOT_BACKLOG_ETL_PKG dependencies on FND_DATE
12.1.1
-
APPS.ISC_DEPOT_BACKLOG_ETL_PKG dependencies on BIS_COLLECTION_UTILITIES
12.1.1
-
APPS.RCI_PROC_DETAIL_ETL_PKG dependencies on BIS_COLLECTION_UTILITIES
12.1.1
-
APPS.RCI_ORG_CERT_ETL_PKG dependencies on BIS_COLLECTION_UTILITIES
12.1.1
-
APPS.ISC_DEPOT_MTTR_ETL_PKG dependencies on BIS_COLLECTION_UTILITIES
12.1.1
-
APPS.RCI_PROC_DETAIL_ETL_PKG dependencies on RCI_PROCESS_DETAIL_F
12.1.1
-
APPS.ISC_DEPOT_BACKLOG_ETL_PKG dependencies on ISC_DR_INC
12.1.1
-
APPS.ISC_DEPOT_MARGIN_ETL_PKG dependencies on BIS_COLLECTION_UTILITIES
12.1.1
-
APPS.RCI_CTRL_DETAIL_ETL_PKG dependencies on RCI_ORG_CERT_CTRLS_F
12.1.1
-
APPS.RCI_COMPL_ENV_CHG_SUMM_PKG dependencies on BIS_COLLECTION_UTILITIES
12.1.1
-
APPS.RCI_ORG_DFCY_ETL_PKG dependencies on RCI_ORG_PROC_DFCY_F
12.1.1
-
APPS.ISC_DEPOT_MARGIN_ETL_PKG dependencies on ISC_DR_COSTS_F
12.1.1
-
APPS.ISC_DEPOT_MARGIN_ETL_PKG dependencies on ISC_DR_CHARGES_F
12.1.1
-
APPS.ISC_DEPOT_BACKLOG_ETL_PKG dependencies on ISC_DR_REPAIR_ORDERS_F
12.1.1