Search Results gr_safety_phrases_tl




Overview

The GR_SAFETY_PHRASES_TL table is a core data object within Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2, specifically for the Process Manufacturing Regulatory Management (GR) module. It functions as a translation table (denoted by the '_TL' suffix), designed to store multilingual descriptions for standardized safety phrases. These phrases are critical regulatory elements used in the classification and labeling of chemical substances and products to communicate hazards, as mandated by regulations like GHS (Globally Harmonized System) or regional equivalents. The table's primary role is to support global operations by enabling the storage of a single safety phrase code with its corresponding descriptive text in multiple installed languages, ensuring accurate and compliant documentation across different locales.

Key Information Stored

The table stores the translated textual representation of safety phrases. Its structure is defined by a composite primary key and several foreign key relationships. The most critical columns include:

  • SAFETY_PHRASE_CODE: The unique identifier for a specific safety phrase. This column links to the base table (GR_SAFETY_PHRASES_B) which holds language-independent attributes.
  • LANGUAGE: The code (e.g., 'US', 'D', 'F') representing the language of the translated text in this row. It references the FND_LANGUAGES table.
  • SOURCE_LANG: Indicates the original language in which the data was entered. This is used by the EBS translation synchronization mechanism and also references FND_LANGUAGES.
  • SAFETY_PHRASE_NAME (implied by the description "Stores the code and name"): The actual translated textual description of the safety phrase in the specified LANGUAGE.

The primary key constraint GR_SAFETY_DESCRIPTIONS_PK enforces uniqueness on the combination of SAFETY_PHRASE_CODE and LANGUAGE.

Common Use Cases and Queries

This table is primarily accessed for generating localized regulatory reports, safety data sheets (SDS), and product labels. A common operational query retrieves the translated phrase for a given code and language. For example, to fetch all French translations for a list of safety phrase codes:

  • SELECT safety_phrase_code, safety_phrase_name FROM gr_safety_phrases_tl WHERE language = 'F' AND safety_phrase_code IN ('H301', 'H315', 'H319');

For reporting or data validation, a join with the base table is typical to correlate translated names with other phrase attributes. A frequent pattern is to retrieve all translations for a phrase to audit completeness:

  • SELECT b.phrase_code, tl.language, tl.safety_phrase_name FROM gr_safety_phrases_b b, gr_safety_phrases_tl tl WHERE b.safety_phrase_code = tl.safety_phrase_code AND b.safety_phrase_code = 'P210' ORDER BY tl.language;

Administrative use cases involve the EBS translation synchronization utilities, which use the SOURCE_LANG column to manage and propagate translated data.

Related Objects

The GR_SAFETY_PHRASES_TL table is centrally positioned within a small hierarchy of related regulatory objects, as defined by its documented foreign key constraints:

  • GR_SAFETY_PHRASES_B: This is the base table. The relationship is defined as GR_SAFETY_PHRASES_TL.SAFETY_PHRASE_CODE → GR_SAFETY_PHRASES_B. The '_B' table contains the master definition of each safety phrase, while the '_TL' table holds its multilingual descriptions.
  • FND_LANGUAGES (two relationships): The table has two separate foreign key references to the application's language master table.
    • GR_SAFETY_PHRASES_TL.LANGUAGE → FND_LANGUAGES: Validates the language of the current translated row.
    • GR_SAFETY_PHRASES_TL.SOURCE_LANG → FND_LANGUAGES: Validates the original source language of the data.

This structure ensures data integrity, where every translated phrase must correspond to a valid base phrase code and a valid installed language.