Search Results gcs_lex_map_rules
Overview
The GCS_LEX_MAP_RULES table is a core data object within the Oracle E-Business Suite module GCS (Financial Consolidation Hub), which is now designated as obsolete. This table serves as the master repository for individual transformation rules within a rule set. Its primary role is to define the logic for mapping and transforming source data into the target structure required for financial consolidation processes. Each record represents a specific rule that dictates how a target column is populated, whether through direct mapping, derivation, or a lookup operation. The table's design centralizes rule definition, linking it to processing stages, target columns, and reference data sources.
Key Information Stored
The table's structure is defined by its primary and foreign key relationships, which indicate the critical data points it manages. The primary key, RULE_ID, uniquely identifies each transformation rule. The foreign key columns specify the rule's context and behavior: RULE_STAGE_ID links the rule to a specific processing phase within the GCS_LEX_MAP_RULE_STAGES table. TARGET_COLUMN_ID references the GCS_LEX_MAP_COLUMNS table to identify which column in the target consolidation structure the rule populates. LOOKUP_TABLE_ID, referencing GCS_LEX_MAP_STRUCTS, is used for rules that require a cross-reference or mapping from a source value. Finally, VALUE_SET_ID links to FND_FLEX_VALUE_SETS, enabling rules that validate or default data based on predefined flexfield value sets.
Common Use Cases and Queries
A primary use case is the analysis and auditing of the consolidation data transformation logic. Administrators or support personnel would query this table to understand the rule set's composition, troubleshoot data load issues, or document the consolidation mappings. Common SQL patterns involve joining to its related tables to get descriptive information. For instance, to list all rules with their target column and processing stage, one might use a query such as: SELECT r.rule_id, c.column_name, s.stage_name FROM gcs_lex_map_rules r, gcs_lex_map_columns c, gcs_lex_map_rule_stages s WHERE r.target_column_id = c.column_id AND r.rule_stage_id = s.stage_id ORDER BY s.stage_sequence, c.column_name;. Another critical scenario is identifying all rules dependent on a specific lookup table or value set before modifying that reference data.
Related Objects
The GCS_LEX_MAP_RULES table exists within a tightly integrated schema for transformation mapping, as evidenced by its documented foreign key relationships. It references the following tables:
- GCS_LEX_MAP_RULE_STAGES via RULE_STAGE_ID: Determines the execution sequence of the rule.
- GCS_LEX_MAP_COLUMNS via TARGET_COLUMN_ID: Defines the destination attribute for the rule's output.
- GCS_LEX_MAP_STRUCTS via LOOKUP_TABLE_ID: Provides reference tables for lookup-based transformation rules.
- FND_FLEX_VALUE_SETS via VALUE_SET_ID: Ties the rule to EBS flexfield validation sets.
- GCS_LEX_MAP_DERIVATIONS via RULE_ID: This table likely stores the detailed derivation formulas or logic that are executed by the parent rule defined in GCS_LEX_MAP_RULES.
-
Table: GCS_LEX_MAP_RULES
12.1.1
owner:GCS, object_type:TABLE, fnd_design_data:GCS.GCS_LEX_MAP_RULES, object_name:GCS_LEX_MAP_RULES, status:VALID, product: GCS - Financial Consolidation Hub , description: Transformation Rule Set Rule , implementation_dba_data: GCS.GCS_LEX_MAP_RULES ,
-
Table: GCS_LEX_MAP_RULE_STAGES
12.1.1
owner:GCS, object_type:TABLE, fnd_design_data:GCS.GCS_LEX_MAP_RULE_STAGES, object_name:GCS_LEX_MAP_RULE_STAGES, status:VALID, product: GCS - Financial Consolidation Hub , description: Transformation Rule Set Stage , implementation_dba_data: GCS.GCS_LEX_MAP_RULE_STAGES ,
-
Table: GCS_LEX_MAP_STRUCTS
12.1.1
owner:GCS, object_type:TABLE, fnd_design_data:GCS.GCS_LEX_MAP_STRUCTS, object_name:GCS_LEX_MAP_STRUCTS, status:VALID, product: GCS - Financial Consolidation Hub , description: Overall structure of an Interface Data Transformer staging table , implementation_dba_data: GCS.GCS_LEX_MAP_STRUCTS ,
-
Table: GCS_LEX_MAP_DERIVATIONS
12.1.1
owner:GCS, object_type:TABLE, fnd_design_data:GCS.GCS_LEX_MAP_DERIVATIONS, object_name:GCS_LEX_MAP_DERIVATIONS, status:VALID, product: GCS - Financial Consolidation Hub , description: Transformation Rule Set derivation , implementation_dba_data: GCS.GCS_LEX_MAP_DERIVATIONS ,
-
Table: GCS_LEX_MAP_COLUMNS
12.1.1
owner:GCS, object_type:TABLE, fnd_design_data:GCS.GCS_LEX_MAP_COLUMNS, object_name:GCS_LEX_MAP_COLUMNS, status:VALID, product: GCS - Financial Consolidation Hub , description: Columns in an Interface Data Transformer staging table , implementation_dba_data: GCS.GCS_LEX_MAP_COLUMNS ,