Results for “gr_risk_calculations”

40 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

In Oracle EBS 12.1.1 and 12.2.2, GR.GR_RISK_CALCULATIONS is a table within the Process Manufacturing Regulatory Management (GR) module. It contains the flags that associate carcinogenic, health, and toxicity classifications with Risk Phrases. As a regulatory compliance object, it acts as the intersection between the catalog of risk phrases (such as R-phrases, S-phrases, and H-statements) and the classification calculations that determine whether a substance, product, or formulation carries a given hazard designation.

Under a heuristic Data Vault classification mined from its foreign key structure, this object is satellite-leaning. It is not a pure hub (which would hold a single business key), nor a classic link, because the primary key is a composite of two distinct business keys — RISK_PHRASE_CODE and CALCULATION_NAME_ID — each sourced from a separate parent reference table. The presence of descriptive attributes such as LINKED_RISKS_FLAG further supports treating the table as a satellite attached to the composite key built from the two parents.

Key Information Stored

The documented physical schema for ETRM 12.2.2 comprises eight columns. The most significant are:

  • RISK_PHRASE_CODE — the regulatory risk phrase code; part of the composite primary key and a foreign key to GR_RISK_PHRASES_B.
  • CALCULATION_NAME_ID — the surrogate identifier of the calculation definition; part of the composite primary key and a foreign key to GR_CALCULATION_NAMES.
  • LINKED_RISKS_FLAG — a flag indicating whether linked risks are associated with the combination of phrase and calculation.
  • CREATED_BY, CREATION_DATE — standard audit columns capturing the creating user and timestamp.
  • LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — standard audit columns capturing the most recent modification user, timestamp, and login.

The GR_RISK_CALCULATIONS_PK primary key — the object the user searched for — is a composite business key defined on (RISK_PHRASE_CODE, CALCULATION_NAME_ID). There is no separate surrogate single-column primary key documented; the composite itself serves as both the unique index and the business-key candidate. This means each combination of a risk phrase and a calculation name may exist only once.

Common Use Cases and Queries

Typical scenarios involve extracting the regulatory classification matrix for a given phrase or calculation:

  • List calculations for a phrase: SELECT calculation_name_id FROM gr_risk_calculations WHERE risk_phrase_code = :code;
  • List phrases for a calculation: SELECT risk_phrase_code FROM gr_risk_calculations WHERE calculation_name_id = :id;
  • Filter by linked risks: SELECT * FROM gr_risk_calculations WHERE linked_risks_flag = 'Y';
  • Join to phrase descriptions: join gr_risk_calculations to gr_risk_phrases_b on risk_phrase_code.
  • Join to calculation names: join to gr_calculation_names on calculation_name_id.

Reporting of product hazard statements and MSDS/SDS generation frequently draws on this table to resolve whether a phrase is active under a particular calculation.

Related Objects

  • GR_RISK_PHRASES_B — referenced via GR_RISK_CALCULATIONS.RISK_PHRASE_CODE.
  • GR_CALCULATION_NAMES — referenced via GR_RISK_CALCULATIONS.CALCULATION_NAME_ID.
  • GR_LINKED_RISKS — references this table through the composite pair RISK_PHRASE_CODE, CALCULATION_NAME_ID.