Search Results gcs_data_prep_pkg
Overview
GCS_DATA_PREP_PKG is a PL/SQL package owned by the APPS schema in Oracle E-Business Suite, classified under the Financials/consolidation domain. Its purpose, as stated in the package header, is to provide the "Package procedures for the Data Preparation Program." In practical terms, this package supports the Financial Consolidation Hub (FCH) / Global Consolidation System (GCS) by preparing source ledger and subledger data so that it can be consumed by the Consolidation Engine. The Data Preparation Program extracts, validates, and stages balances and transaction details from source entities, executes currency translation where required, applies proportional consolidation rules, and populates the tables the consolidation process reads for subsequent steps such as intercompany elimination and parent-level aggregation. The package is defined as AUTHID CURRENT_USER, meaning it executes with the privileges of the calling user rather than its owner, which is relevant for security and for any direct invocation outside the standard concurrent program path.
Key Procedures and Functions
- GCS_MAIN_DATA_PREP — The primary entry point. According to the source header, it is "called via the SRS submission performed by the Consolidation Engine" and then dispatches to the appropriate routines to complete the full data preparation process. It accepts arguments that include the consolidation hierarchy identifier, entity identifier, target calendar period, execution mode (FULL or INCREMENTAL), the various entry identifiers used to distinguish STAT currency lines, other lines, and proportional consolidation lines, the consolidation relationship identifier, and the balance type code (ACTUAL or ADB). It also contains standard SRS error buffer and return code parameters.
- GCS_INCREMENTAL_DATA_PREP — Documented as being invoked through the SRS submission performed by the Consolidation Engine, this procedure performs the incremental variant of data preparation, processing only changes since the last load rather than the full data set. The source header lists the standard SRS error buffer and return code arguments, and it parallels the main procedure's argument structure.
- CREATE_PROCESS — Present in the package's documented interface but not detailed in the ETRM excerpt. Consistent with the naming conventions of consolidation programs, it is used to establish or register a data preparation process (for example, creating a run or process record) before the main preparation routines execute.
Note: the actual parameter lists of GCS_INCREMENTAL_DATA_PREP and CREATE_PROCESS are not reproduced in the excerpt; only GCS_MAIN_DATA_PREP's signature is documented above.
Tables Accessed
The package reads and writes through APPS synonyms. The most relevant objects include:
- GCS_DATA_SUB_DTLS, GCS_ENTRY_HEADERS_S, GCS_CONS_ENG_RUNS, and GCS_CONS_ENG_RUN_DTLS — the staging and run-tracking tables where prepared data and their processing status are persisted.
- GCS_CONS_RELATIONSHIPS — provides consolidation relationship definitions used to determine proportional versus full consolidation treatment.
- GCS_CAL_PERIOD_MAPS, GCS_CAL_PERIOD_MAPS_GT, and GCS_CAL_PERIOD_MAP_DTLS — calendar period mapping tables used to translate source periods into the target consolidation period.
- FEM_CAL_PERIODS_ATTR and FEM_CAL_PERIODS_B — Enterprise Planning and Management calendar period definitions.
- FEM_EXT_ACCT_TYPES_ATTR, FEM_LEDGERS_ATTR, FEM_LN_ITEMS_ATTR — FEM attribute and ledger structures supplying account type and line item metadata.
- GCS_ENTITIES_ATTR and GCS_ENTITY_CONS_ATTRS — entity and entity-consolidation attribute definitions used to select the correct entities and consolidation parameters for each run.
Usage Notes
GCS_DATA_PREP_PKG is not intended for direct interactive invocation. It is designed to be driven by the Consolidation Engine, which submits an SRS (Standard Request Submission) request that calls one of the data preparation procedures with the standard x_errbuf and x_retcode OUT parameters. The execution mode argument (FULL or INCREMENTAL) determines which entry point is used, with full mode running GCS_MAIN_DATA_PREP and incremental mode running GCS_INCREMENTAL_DATA_PREP. The package is referenced by two other packages within the APPS schema, confirming that it is part of a wider consolidation orchestration chain rather than a standalone utility. Because the package uses AUTHID CURRENT_USER, any custom code that invokes it must ensure the calling schema has the necessary object and execute privileges on the underlying GCS and FEM tables as well as on the package itself. Custom extensions should attach to the consolidation process through the documented entry procedures, preserving the argument contract (hierarchy, entity, period, execution mode, entry identifiers, relationship, balance type) rather than modifying the package body.
-
PACKAGE: APPS.GCS_DATA_PREP_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GCS_DATA_PREP_PKG, 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,
-
SYNONYM: APPS.GCS_TREATMENTS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_TREATMENTS_B, 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,
-
SYNONYM: APPS.GCS_ENTITIES_ATTR
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_ENTITIES_ATTR, status:VALID,
-
SYNONYM: APPS.GCS_CAL_PERIOD_MAPS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_CAL_PERIOD_MAPS, status:VALID,
-
PACKAGE: APPS.GCS_DATA_PREP_PKG
12.1.1
-
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,
-
PACKAGE: APPS.GCS_DYNAMIC_UTIL_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GCS_DYNAMIC_UTIL_PKG, status:VALID,
-
SYNONYM: APPS.GCS_CONS_ENG_RUNS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_CONS_ENG_RUNS, status:VALID,
-
SYNONYM: APPS.GCS_ENTITY_CONS_ATTRS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_ENTITY_CONS_ATTRS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.GCS_CAL_PERIOD_MAP_DTLS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_CAL_PERIOD_MAP_DTLS, status:VALID,
-
PACKAGE: APPS.GCS_DP_DYNAMIC_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GCS_DP_DYNAMIC_PKG, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
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_CONS_ENG_RUN_DTLS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_CONS_ENG_RUN_DTLS, status:VALID,
-
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.GCS_DATA_SUB_DTLS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_DATA_SUB_DTLS, status:VALID,
-
SYNONYM: APPS.FEM_CAL_PERIODS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FEM_CAL_PERIODS_B, status:VALID,
-
PACKAGE BODY: APPS.GCS_CONS_ENG_UTILITY_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_CONS_ENG_UTILITY_PKG, status:VALID,
-
SYNONYM: APPS.GCS_CONS_RELATIONSHIPS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_CONS_RELATIONSHIPS, status:VALID,
-
PACKAGE BODY: APPS.GCS_CREATE_DYN_INDEX_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_CREATE_DYN_INDEX_PKG, 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_EXT_ACCT_TYPES_ATTR
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FEM_EXT_ACCT_TYPES_ATTR, 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_CAL_PERIODS_ATTR
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FEM_CAL_PERIODS_ATTR, status:VALID,
-
PACKAGE: APPS.GCS_UTILITY_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GCS_UTILITY_PKG, status:VALID,
-
SYNONYM: PUBLIC.AD_DDL
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:AD_DDL, status:VALID,
-
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_CONS_ENG_UTILITY_PKG dependencies on GCS_DATA_PREP_PKG
12.1.1
-
APPS.GCS_CREATE_DYN_INDEX_PKG dependencies on GCS_DATA_PREP_PKG
12.1.1
-
APPS.GCS_DATA_PREP_PKG dependencies on FND_FILE
12.1.1
-
APPS.GCS_DATA_PREP_PKG dependencies on GCS_DYNAMIC_UTIL_PKG
12.1.1
-
APPS.GCS_DATA_PREP_PKG dependencies on AD_DDL
12.1.1
-
APPS.GCS_DATA_PREP_PKG dependencies on GCS_DP_DYNAMIC_PKG
12.1.1
-
APPS.GCS_DATA_PREP_PKG dependencies on GCS_UTILITY_PKG
12.1.1
-
PACKAGE: APPS.FND_FILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_FILE, status:VALID,
-
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
-
12.1.1 DBA Data
12.1.1
-
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,