Search Results gcs_dp_dynamic_pkg
Overview
GCS_DP_DYNAMIC_PKG is an Oracle EBS Applications (APPS) PL/SQL package that forms part of the Global Consolidation System (GCS) Data Preparation Engine. The package header is defined with AUTHID CURRENT_USER, meaning that all SQL executed within its procedures runs under the privileges of the invoking schema rather than the package owner. As stated in the embedded header comments, the package was created on 08-Dec-03 by Ying Liu and its stated purpose is to provide "package procedures for the Data Preparation Engine Program." In practical terms, the Data Preparation Engine is responsible for gathering, transforming, and staging financial balances and related dimensional data so that the consolidation engine can produce consolidated entries. This package therefore sits on the boundary between raw financial data collection (via dynamic SQL) and the consolidation entry structures that downstream consolidation processing consumes.
Key Procedures and Functions
The package exposes two documented procedures. Both follow the standard concurrent-program call signature, accepting an OUT NOCOPY errbuf and retcode for concurrent manager error reporting.
- PROCESS_DATA — Performs the core data preparation step. Its documented purpose is to "process all the data collected by the dynamic sql statement and insert the data into GCS_ENTRY_LINES/HEADERS." Its parameters indicate that it receives source currency, target calendar period, maximum period, currency type, hierarchy, entity, source ledger, a year-end values match flag, a calendar period record (of type gcs_utility_pkg.r_cal_period_info), balance type, owner percentage, run detail identifier, and source dataset code. It is the primary routine for full data preparation runs.
- PROCESS_INC_DATA — Handles incremental data processing. It shares much of the same parameter profile as PROCESS_DATA (source currency, target calendar period, currency type, hierarchy, entity, source ledger, balance type, owner percentage, source dataset code) but adds a run name and returns four OUT parameters: x_entry_id, x_stat_entry_id, x_prop_entry_id, and x_stat_prop_entry_id. These outputs correspond to the entry identifiers created for standard, statistical, proportional, and statistical-proportional entry lines, indicating that incremental processing creates discrete entry records rather than a bulk refresh.
Tables Accessed
The package operates across a broad set of Enterprise Performance Foundation (FEM) and GCS tables, accessed through APPS synonyms. The FEM tables — FEM_BALANCES, FEM_CAL_PERIODS_ATTR, FEM_DIM_ATTRIBUTES_B, FEM_DIM_ATTR_VERSIONS_B, FEM_EXT_ACCT_TYPES_ATTR, FEM_GLOBAL_VS_COMBO_DEFS, FEM_LEDGERS_ATTR, FEM_LN_ITEMS_ATTR, FEM_OBJECT_DEFINITION_B, and FEM_XDIM_DIMENSIONS — supply the balance data, calendar period attributes, dimensional metadata, ledger attributes, line item attributes, and account type definitions required to interpret and transform source balances. FND_CURRENCIES provides currency validation and conversion metadata. GCS_CAL_PERIOD_MAPS_GT is a global temporary table used to map source calendar periods to target periods. GCS_CONS_ENG_RUNS and GCS_CONS_ENG_RUN_DTLS store the consolidation engine run header and detail records that track execution of the data preparation process. GCS_CONS_IMPACT_ANALYSES supports impact analysis of consolidation changes. The write targets referenced in the procedure documentation are GCS_ENTRY_LINES and GCS_ENTRY_HEADERS, which hold the prepared entry data.
Usage Notes
This package is designed to be invoked from the Data Preparation Engine concurrent program, which explains the AUTHID CURRENT_USER declaration and the errbuf/retcode OUT parameters. It may also be called directly from custom PL/SQL code that needs to invoke data preparation programmatically; because the package is not marked as an approved public API (API classification: OTHER), direct calls should be treated with caution and validated against the installed patch level. The package is referenced by one other package, so dependent code must be considered when applying patches. Given the header revision ($Header: gcsdpdyns.pls 120.2 2006/02/04), the code has remained stable since the 11i-era codebase and is carried forward into 12.1.1 and 12.2.2 without functional change to the documented interface.
-
PACKAGE: APPS.GCS_DP_DYNAMIC_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GCS_DP_DYNAMIC_PKG, status:VALID,
-
PACKAGE: APPS.GCS_DP_DYNAMIC_PKG
12.1.1
-
PACKAGE BODY: APPS.GCS_DP_DYNAMIC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_DP_DYNAMIC_PKG, status:VALID,
-
SYNONYM: APPS.GCS_INTERCO_MAP_DTLS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_INTERCO_MAP_DTLS, status:VALID,
-
SYNONYM: APPS.GCS_CONS_IMPACT_ANALYSES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_CONS_IMPACT_ANALYSES, status:VALID,
-
PACKAGE: APPS.GCS_ENTRY_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GCS_ENTRY_PKG, status:VALID,
-
SYNONYM: APPS.GCS_CAL_PERIOD_MAPS_GT
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_CAL_PERIOD_MAPS_GT, status:VALID,
-
PACKAGE: APPS.GCS_UTILITY_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GCS_UTILITY_PKG, status:VALID,
-
SYNONYM: APPS.GCS_ENTITIES_ATTR
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_ENTITIES_ATTR, status:VALID,
-
SYNONYM: APPS.GCS_ENTRY_LINES_GT
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_ENTRY_LINES_GT, status:VALID,
-
SYNONYM: APPS.GCS_ENTRY_HEADERS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_ENTRY_HEADERS_S, status:VALID,
-
SYNONYM: APPS.GCS_ENTITY_CCTR_ORGS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_ENTITY_CCTR_ORGS, status:VALID,
-
PACKAGE: APPS.GCS_TEMPLATES_DYNAMIC_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GCS_TEMPLATES_DYNAMIC_PKG, status:VALID,
-
SYNONYM: APPS.GCS_DATA_SUB_DTLS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_DATA_SUB_DTLS, status:VALID,
-
PACKAGE: APPS.GCS_CONS_ENG_RUN_DTLS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GCS_CONS_ENG_RUN_DTLS_PKG, status:VALID,
-
SYNONYM: APPS.GCS_SYSTEM_OPTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_SYSTEM_OPTIONS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.GCS_CONS_ENG_RUNS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_CONS_ENG_RUNS, status:VALID,
-
PACKAGE: APPS.GCS_TEMPLATES_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GCS_TEMPLATES_PKG, status:VALID,
-
SYNONYM: APPS.GCS_ENTRY_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_ENTRY_HEADERS, status:VALID,
-
PACKAGE BODY: APPS.GCS_DATA_PREP_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_DATA_PREP_PKG, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.FEM_LN_ITEMS_ATTR
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FEM_LN_ITEMS_ATTR, status:VALID,
-
SYNONYM: APPS.GCS_HIERARCHIES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_HIERARCHIES_B, status:VALID,
-
SYNONYM: APPS.GCS_ENTRY_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_ENTRY_LINES, status:VALID,
-
SYNONYM: APPS.FEM_BALANCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FEM_BALANCES, status:VALID,
-
SYNONYM: APPS.FEM_EXT_ACCT_TYPES_ATTR
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FEM_EXT_ACCT_TYPES_ATTR, status:VALID,
-
SYNONYM: APPS.GCS_CONS_ENG_RUN_DTLS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_CONS_ENG_RUN_DTLS, status:VALID,
-
SYNONYM: APPS.FEM_LEDGERS_ATTR
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FEM_LEDGERS_ATTR, status:VALID,
-
SYNONYM: APPS.FEM_GLOBAL_VS_COMBO_DEFS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FEM_GLOBAL_VS_COMBO_DEFS, status:VALID,
-
SYNONYM: APPS.FEM_CAL_PERIODS_ATTR
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FEM_CAL_PERIODS_ATTR, status:VALID,
-
SYNONYM: APPS.FEM_XDIM_DIMENSIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FEM_XDIM_DIMENSIONS, status:VALID,
-
VIEW: APPS.FEM_DATA_LOCATIONS
12.1.1
owner:APPS, object_type:VIEW, object_name:FEM_DATA_LOCATIONS, status:VALID,
-
SYNONYM: APPS.FEM_DIM_ATTR_VERSIONS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FEM_DIM_ATTR_VERSIONS_B, status:VALID,
-
SYNONYM: APPS.FEM_DIM_ATTRIBUTES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FEM_DIM_ATTRIBUTES_B, status:VALID,
-
SYNONYM: APPS.FEM_OBJECT_DEFINITION_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FEM_OBJECT_DEFINITION_B, status:VALID,
-
APPS.GCS_DATA_PREP_PKG dependencies on GCS_DP_DYNAMIC_PKG
12.1.1
-
APPS.GCS_DP_DYNAMIC_PKG dependencies on GCS_DP_DYNAMIC_PKG
12.1.1
-
APPS.GCS_DATA_PREP_PKG dependencies on GCS_DYNAMIC_UTIL_PKG
12.1.1
-
SYNONYM: APPS.FND_CURRENCIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_CURRENCIES, status:VALID,
-
PACKAGE BODY: APPS.GCS_DP_DYNAMIC_PKG
12.1.1
-
PACKAGE BODY: APPS.GCS_DATA_PREP_PKG
12.1.1
-
APPS.GCS_DATA_PREP_PKG dependencies on GCS_DATA_PREP_PKG
12.1.1
-
APPS.GCS_DATA_PREP_PKG dependencies on AD_DDL
12.1.1
-
SYNONYM: PUBLIC.DBMS_SQL
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_SQL, status:VALID,
-
APPS.GCS_DATA_PREP_PKG dependencies on FND_FILE
12.1.1
-
PACKAGE: APPS.FND_LOG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_LOG, status:VALID,
-
SYNONYM: PUBLIC.DUAL
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
12.1.1 DBA Data
12.1.1