Search Results main_heading_code
Overview
The GR_MAIN_HEADINGS_TL table is a core data object within the Oracle E-Business Suite (EBS) Process Manufacturing Regulatory Management (GR) module. It functions as a translation table, storing the multilingual descriptions for regulatory main headings. These main headings are foundational classifications used to organize and manage regulatory data, such as substance lists, product registrations, and compliance documentation. The table's primary role is to support global deployments by enabling the display of heading names in a user's preferred language, a critical feature for multinational organizations. It operates in conjunction with its base table, GR_MAIN_HEADINGS_B, which holds the language-independent attributes.
Key Information Stored
The table's structure is designed to manage translated text. Its primary key is a composite of MAIN_HEADING_CODE and LANGUAGE, ensuring a unique description per language for each heading. The MAIN_HEADING_CODE column is the foreign key linking to the base table, GR_MAIN_HEADINGS_B. The LANGUAGE column stores the language code (e.g., 'US', 'FR', 'DE') and references the FND_LANGUAGES table. A critical column is SOURCE_LANG, which identifies the original language in which the data was entered; this is also a foreign key to FND_LANGUAGES. The table's central data column, MAIN_HEADING_DESCRIPTION (implied by the table's description), holds the actual translated text for the heading. Additional standard Translation Layer (TL) columns, such as CREATED_BY and LAST_UPDATE_DATE, are also present for auditing.
Common Use Cases and Queries
The primary use case is retrieving a user-friendly heading description for reports, forms, and user interfaces based on the session language. A common query involves joining the base and translation tables to get a complete view. For example, to fetch all active main headings for the current session language, a developer might use:
- SELECT b.MAIN_HEADING_CODE, tl.MAIN_HEADING_DESCRIPTION
- FROM GR_MAIN_HEADINGS_B b, GR_MAIN_HEADINGS_TL tl
- WHERE b.MAIN_HEADING_CODE = tl.MAIN_HEADING_CODE
- AND tl.LANGUAGE = USERENV('LANG')
- AND b.ENABLED_FLAG = 'Y';
Another scenario is data migration or setup, where scripts populate this table with translated descriptions for each supported language, always setting the SOURCE_LANG column correctly to track the origin.
Related Objects
The GR_MAIN_HEADINGS_TL table has defined relationships with several key EBS objects, as documented in its foreign key constraints:
- GR_MAIN_HEADINGS_B: This is the primary base table. The relationship is defined on the column GR_MAIN_HEADINGS_TL.MAIN_HEADING_CODE, which references GR_MAIN_HEADINGS_B.MAIN_HEADING_CODE. All descriptive data in the TL table is anchored to a record in this base table.
- FND_LANGUAGES: The table has two foreign key relationships to this application foundation table.
- The GR_MAIN_HEADINGS_TL.LANGUAGE column references FND_LANGUAGES.LANGUAGE_CODE, validating the language of the translation.
- The GR_MAIN_HEADINGS_TL.SOURCE_LANG column references FND_LANGUAGES.LANGUAGE_CODE, validating the language of the original source data.
Any reporting or integration involving regulatory main heading descriptions will typically require joining through this translation table to respect the user's language context.
-
Table: GR_MAIN_HEADINGS_TL
12.1.1
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_MAIN_HEADINGS_TL, object_name:GR_MAIN_HEADINGS_TL, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: The Main Heading Description. , implementation_dba_data: GR.GR_MAIN_HEADINGS_TL ,
-
View: GR_MAIN_HEADINGS_TL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:GR.GR_MAIN_HEADINGS_TL_V, object_name:GR_MAIN_HEADINGS_TL_V, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the rows that have a language dependent description for the main headings code , implementation_dba_data: APPS.GR_MAIN_HEADINGS_TL_V ,
-
View: GR_MAIN_HEADINGS_B_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:GR.GR_MAIN_HEADINGS_B_V, object_name:GR_MAIN_HEADINGS_B_V, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the rows for the main heading code , implementation_dba_data: APPS.GR_MAIN_HEADINGS_B_V ,
-
Table: GR_MAIN_HEADINGS_TL
12.2.2
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_MAIN_HEADINGS_TL, object_name:GR_MAIN_HEADINGS_TL, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: The Main Heading Description. , implementation_dba_data: GR.GR_MAIN_HEADINGS_TL ,
-
View: GR_MAIN_HEADINGS_TL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:GR.GR_MAIN_HEADINGS_TL_V, object_name:GR_MAIN_HEADINGS_TL_V, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the rows that have a language dependent description for the main headings code , implementation_dba_data: APPS.GR_MAIN_HEADINGS_TL_V ,
-
Table: GR_MAIN_HEADINGS_B
12.2.2
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_MAIN_HEADINGS_B, object_name:GR_MAIN_HEADINGS_B, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the Main Heading Code where the heading text is located and where the Glossary heading text is located. Codes are both system-defined and user-defined. , implementation_dba_data: GR.GR_MAIN_HEADINGS_B ,
-
Table: GR_MAIN_HEADINGS_B
12.1.1
owner:GR, object_type:TABLE, fnd_design_data:GR.GR_MAIN_HEADINGS_B, object_name:GR_MAIN_HEADINGS_B, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the Main Heading Code where the heading text is located and where the Glossary heading text is located. Codes are both system-defined and user-defined. , implementation_dba_data: GR.GR_MAIN_HEADINGS_B ,
-
View: GR_MAIN_HEADINGS_B_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:GR.GR_MAIN_HEADINGS_B_V, object_name:GR_MAIN_HEADINGS_B_V, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the rows for the main heading code , implementation_dba_data: APPS.GR_MAIN_HEADINGS_B_V ,
-
View: GR_PHRASES_B_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:GR.GR_PHRASES_B_V, object_name:GR_PHRASES_B_V, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the rows that have a language dependent description for the phrase code. , implementation_dba_data: APPS.GR_PHRASES_B_V ,
-
View: GR_PHRASES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:GR.GR_PHRASES_VL, object_name:GR_PHRASES_VL, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the rows that have a language dependent description for the phrase code where the language is equal to the user environment variable LANG , implementation_dba_data: APPS.GR_PHRASES_VL ,
-
View: GR_PHRASES_B_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:GR.GR_PHRASES_B_V, object_name:GR_PHRASES_B_V, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the rows that have a language dependent description for the phrase code. , implementation_dba_data: APPS.GR_PHRASES_B_V ,
-
View: GR_PHRASES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:GR.GR_PHRASES_VL, object_name:GR_PHRASES_VL, status:VALID, product: GR - Process Manufacturing Regulatory Management , description: Contains the rows that have a language dependent description for the phrase code where the language is equal to the user environment variable LANG , implementation_dba_data: APPS.GR_PHRASES_VL ,