Search Results phrase_code_also_involved




Overview

The GR.GR_PHRASE_CONFLICTS table is a core data structure within the Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2, specifically for the Global Regulatory (GR) module. Its primary function is to manage and resolve conflicts between regulatory text phrases. In regulatory compliance, different phrases may convey similar or conflicting hazard or safety information. This table serves as a resolution matrix, defining the appropriate solution phrase when two specific phrases are found to be in conflict during the authoring or validation of regulatory documents, such as Safety Data Sheets (SDS) or labels. By maintaining these relationships, the system ensures consistency and compliance by automatically suggesting or applying the correct standardized phrasing.

Key Information Stored

The table's structure is centered around three key phrase codes that define the conflict relationship, supported by standard audit columns. The primary data columns are:

The table's primary key is a composite of PHRASE_CODE and PHRASE_CODE_ALSO_INVOLVED, ensuring a unique conflict rule for each specific pair of phrases.

Common Use Cases and Queries

The primary use case is during the validation of a regulatory document. When the system detects that two conflicting phrases (e.g., "Flammable Liquid" and "Highly Flammable Liquid") are present, it queries this table to determine the prescribed resolution. A typical query would identify the solution for a given pair of conflicting phrases or find all conflicts involving a particular phrase.

Sample Query 1: Find the solution for a specific conflict.
SELECT phrase_code_solution FROM gr.gr_phrase_conflicts WHERE phrase_code = 'PHRASE_A' AND phrase_code_also_involved = 'PHRASE_B';

Sample Query 2: List all conflicts where a given phrase is involved (using the indexed PHRASE_CODE_ALSO_INVOLVED column).
SELECT pc.phrase_code, pc.phrase_code_also_involved, pc.phrase_code_solution, pb.phrase_text FROM gr.gr_phrase_conflicts pc JOIN gr.gr_phrases_b pb ON pc.phrase_code_solution = pb.phrase_code WHERE pc.phrase_code_also_involved = 'PHRASE_X';

Related Objects

The GR_PHRASE_CONFLICTS table has a foundational relationship with the central phrases repository. It is exclusively linked to the GR_PHRASES_B table via three foreign key constraints, ensuring all referenced phrases are valid master records:

  • GR.GR_PHRASE_CONFLICTS.PHRASE_CODE references GR_PHRASES_B
  • GR.GR_PHRASE_CONFLICTS.PHRASE_CODE_ALSO_INVOLVED references GR_PHRASES_B
  • GR.GR_PHRASE_CONFLICTS.PHRASE_CODE_SOLUTION references GR_PHRASES_B

These relationships enforce referential integrity, meaning a conflict record cannot point to a non-existent phrase. The table is also referenced by an internal object named GR_PHRASE_CONFLICTS#, which is typically a database trigger or a materialized view log supporting data integrity or replication.