Search Results gcs_utility_pkg
Overview
GCS_UTILITY_PKG is a shared PL/SQL utility package in the APPS schema that supports the Financial Consolidation Hub (FCH) and Enterprise Performance Foundation (EPF) components of Oracle E-Business Suite. Its role is to centralize common lookups, metadata resolution, and calendar/dimension handling logic used across the GCS (Global Consolidation System) module. Rather than duplicating logic in each calling program, the various consolidation, elimination, and dimension-mapping routines invoke this package to obtain standardized values such as organization identifiers, dimension attributes, calendar period details, and currency conversion rates. The package body is documented as VALID in the ETRM repository, and is referenced by 47 other database objects, confirming its position as a foundational dependency within the consolidation subsystem. Because it is a package body, its procedures and functions are only accessible through the corresponding package specification, and it is not referenced by any database object itself — it acts purely as a provider of reusable services.
Key Procedures and Functions
The package body exposes fourteen documented procedures and functions. They fall into several functional groups:
- INIT_DIMENSION_INFO and INIT_DIMENSION_ATTR_INFO — initialize dimension and dimension-attribute metadata caches used by downstream consolidation processing.
- GET_DIMENSION_ATTRIBUTE, GET_DIMENSION_REQUIRED, GET_FEM_DIM_REQUIRED, and GET_HRATE_DIM_REQUIRED — resolve dimension attributes and determine whether a given dimension (or an FEM/HRate-specific dimension) is mandatory for a consolidation context.
- GET_CAL_PERIOD_DETAILS and POPULATE_CALENDAR_MAP_DETAILS — retrieve calendar period information and populate the calendar-map detail staging structures used by consolidation mappings.
- GET_ENTRY_HEADER — retrieve entry header information for a consolidation entry.
- GET_CONVERSION_RATE — obtain the appropriate currency conversion rate for translation and consolidation.
- GET_DEFAULT_VALUE and GET_ASSOCIATED_VALUE_SET_ID — return default values and the value set identifier associated with a dimension or attribute, supporting flexfield-style validation.
- GET_ORG_ID and GET_BASE_ORG_ID — resolve the current and base organization identifiers (operating unit context) for multi-org aware processing.
No parameter signatures are invented here; the documented names alone describe the intent of each routine.
Tables Accessed
The package reads primarily from the FEM (Enterprise Performance Foundation) metadata model and the GCS consolidation tables. FEM_* tables — FEM_DIMENSIONS_B, FEM_DIMENSION_GRPS_B, FEM_DIM_ATTRIBUTES_B, FEM_DIM_ATTR_VERSIONS_B, FEM_CAL_PERIODS_B, FEM_CAL_PERIODS_ATTR, FEM_ENTITIES_ATTR, FEM_ENTITIES_TL, FEM_TAB_COLUMNS_B, FEM_TAB_COLUMN_PROP, FEM_VALUE_SETS_B, FEM_TIME_GRP_TYPES_ATTR, FEM_GLOBAL_VS_COMBO_DEFS, FEM_XDIM_DIMENSIONS, FEM_APP_GRP_COL_EXCLSNS, and FEM_APP_GRP_DIM_EXCLSNS — provide dimension, entity, calendar, value set, and exclusion definitions that the utility routines resolve. GCS tables — GCS_CAL_PERIOD_MAPS, GCS_CAL_PERIOD_MAPS_GT (a global temporary table), GCS_CAL_PERIOD_MAP_DTLS, GCS_CONS_RELATIONSHIPS, GCS_CURR_TREATMENTS_B, GCS_ELIM_RULES_TL, GCS_ENTRY_HEADERS, GCS_EPB_DIM_MAPS, and GCS_SYSTEM_OPTIONS — supply consolidation calendars, relationships, currency treatment, elimination rules, entry headers, dimension maps, and system option settings. GL_DAILY_RATES is queried for currency conversion rates. Utility dependencies include APP_EXCEPTION for error raising, FND_LOG and FND_MESSAGE for logging and message resolution, and DUAL/PLITBLM/STANDARD for basic PL/SQL constructs.
Usage Notes
GCS_UTILITY_PKG is typically invoked programmatically rather than directly by an end user. It is called by the 47 dependent packages that make up the FCH and EPF consolidation flow — for example, during consolidation setup, dimension validation, calendar mapping population, entry processing, and currency translation. It may also be reached through concurrent programs and consolidation forms that perform dimension and calendar validation. Custom extensions that need consistent resolution of organization IDs, dimension-required flags, default values, or conversion rates within a consolidation context should call this package rather than reimplementing the logic, thereby preserving compatibility with Oracle-provided processing. Because the routines depend heavily on FEM and GCS metadata, they should be invoked only after the relevant consolidation model and calendar have been initialized, and callers should expect exceptions raised through APP_EXCEPTION for invalid or missing metadata.
-
PACKAGE BODY: APPS.GCS_UTILITY_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_UTILITY_PKG, status:VALID,
-
PACKAGE: APPS.GCS_UTILITY_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GCS_UTILITY_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_RP_UTIL_BUILD_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_RP_UTIL_BUILD_PKG, status:VALID,
-
SYNONYM: APPS.FEM_APP_GRP_DIM_EXCLSNS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FEM_APP_GRP_DIM_EXCLSNS, status:VALID,
-
SYNONYM: APPS.GCS_ELIM_RULES_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_ELIM_RULES_TL, status:VALID,
-
SYNONYM: APPS.GCS_CURR_TREATMENTS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_CURR_TREATMENTS_B, status:VALID,
-
PACKAGE BODY: APPS.GCS_PERIOD_INIT_DYN_BUILD_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_PERIOD_INIT_DYN_BUILD_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_BUILD_FEM_POSTING_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_BUILD_FEM_POSTING_PKG, status:VALID,
-
SYNONYM: APPS.FEM_TIME_GRP_TYPES_ATTR
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FEM_TIME_GRP_TYPES_ATTR, status:VALID,
-
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,
-
SYNONYM: APPS.GCS_EPB_DIM_MAPS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_EPB_DIM_MAPS, status:VALID,
-
PACKAGE BODY: APPS.GCS_AGGREGATION_DYN_BUILD_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_AGGREGATION_DYN_BUILD_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_DIMENSION_SET_LINES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_DIMENSION_SET_LINES_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_XML_DYNAMIC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_XML_DYNAMIC_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_CAL_PERIOD_MAPS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_CAL_PERIOD_MAPS, status:VALID,
-
SYNONYM: APPS.FEM_APP_GRP_COL_EXCLSNS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FEM_APP_GRP_COL_EXCLSNS, status:VALID,
-
SYNONYM: APPS.FEM_ENTITIES_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FEM_ENTITIES_TL, status:VALID,
-
PACKAGE BODY: APPS.GCS_DYNAMIC_UTIL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_DYNAMIC_UTIL_PKG, status:VALID,
-
SYNONYM: APPS.FEM_VALUE_SETS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FEM_VALUE_SETS_B, status:VALID,
-
PACKAGE BODY: APPS.GCS_INTERCO_DYNAMIC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_INTERCO_DYNAMIC_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_IMPACT_WRITER_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_IMPACT_WRITER_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_DYN_TB_VIEW_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_DYN_TB_VIEW_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_TRANS_DYN_BUILD_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_TRANS_DYN_BUILD_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_TEMPLATES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_TEMPLATES_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_DRILLDOWN_UTIL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_DRILLDOWN_UTIL_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_AGGREGATION_DYNAMIC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_AGGREGATION_DYNAMIC_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_DATASUB_DYNAMIC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_DATASUB_DYNAMIC_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_BUILD_EPB_DIM_TR_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_BUILD_EPB_DIM_TR_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_INTERCO_DYN_BUILD_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_INTERCO_DYN_BUILD_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_AD_ENGINE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_AD_ENGINE, status:VALID,
-
PACKAGE BODY: APPS.GCS_AGGREGATION_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_AGGREGATION_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_PERIOD_INIT_DYNAMIC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_PERIOD_INIT_DYNAMIC_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_WF_NTF_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_WF_NTF_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_TEMPLATES_DYNAMIC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_TEMPLATES_DYNAMIC_PKG, status:VALID,
-
SYNONYM: APPS.FEM_TAB_COLUMN_PROP
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FEM_TAB_COLUMN_PROP, status:VALID,
-
PACKAGE BODY: APPS.GCS_BUILD_EPB_DATA_TR_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_BUILD_EPB_DATA_TR_PKG, status:VALID,
-
SYNONYM: APPS.GCS_SYSTEM_OPTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_SYSTEM_OPTIONS, status:VALID,
-
PACKAGE BODY: APPS.GCS_CREATE_LEVELS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_CREATE_LEVELS_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_CONS_MONITOR_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_CONS_MONITOR_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_FEM_HIER_SYNC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_FEM_HIER_SYNC_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_INTERCO_PROCESSING_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_INTERCO_PROCESSING_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_PERIOD_INIT_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_PERIOD_INIT_PKG, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.GCS_DATASUB_UTILITY_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_DATASUB_UTILITY_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_DYN_FEM_POSTING_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_DYN_FEM_POSTING_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_HIERARCHIES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_HIERARCHIES_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_AD_TRIALBALANCE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_AD_TRIALBALANCE_PKG, status:VALID,
-
PACKAGE BODY: APPS.GCS_IC_LOB_ELIM_PARENT_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_IC_LOB_ELIM_PARENT_PKG, status:VALID,