Search Results gr_phrases_b_v
Overview
The view APPS.GR_PHRASES_B_V is a language-aware reporting object within the Oracle E-Business Suite Process Manufacturing Regulatory Management (GR) module. It exposes phrase code records together with their translated main heading and sub-heading descriptions, resolving the language-dependent text at query time through the USERENV('LANG') session context. Its central role is to present regulatory phrase data in a form suitable for direct reporting and integration, sparing developers from manually joining the underlying phrase base table to the heading translation tables. The view is documented as VALID in the APPS schema and is available in both EBS 12.1.1 and 12.2.2.
Underlying Base Objects
The view is defined over three documented base objects. GR_PHRASES_B is the primary table supplying the phrase code and descriptive attribute columns. GR_MAIN_HEADINGS_TL provides the translated main heading description, joined on MAIN_HEADING_CODE with an inner join and filtered by M.LANGUAGE = USERENV('LANG'). GR_SUB_HEADINGS_TL supplies the translated sub-heading description, joined on SUB_HEADING_CODE with an outer join (indicated by the (+) syntax) and likewise filtered by S.LANGUAGE (+) = USERENV('LANG'). This structure means phrase rows always require a matching main heading in the current language, while the sub-heading is optional and will return null when no translation exists.
Key Columns
- ROW_ID — the physical
ROWIDof the underlyingGR_PHRASES_Brow, used to uniquely locate the base record. - PHRASE_CODE — the unique identifier for the regulatory phrase.
- MAIN_HEADING_CODE and MAIN_DESCRIPTION — the code and its language-dependent description from the main headings translation table.
- SUB_HEADING_CODE and SUB_DESCRIPTION — the optional sub-heading code and its translated description.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1 through ATTRIBUTE30 — the standard EBS descriptive flexfield columns carried through from the base table.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — the standard WHO audit columns.
Common Use Cases and Queries
This view is typically used to build regulatory phrase listings, cross-reference reports, or integration extracts in which localized heading text is required. Because the join to the translation tables is resolved automatically, callers receive descriptions appropriate to the language set in their session. A representative query follows.
SELECT PHRASE_CODE, MAIN_HEADING_CODE, MAIN_DESCRIPTION, SUB_HEADING_CODE, SUB_DESCRIPTION FROM APPS.GR_PHRASES_B_V WHERE MAIN_HEADING_CODE = :heading_code;SELECT PHRASE_CODE, MAIN_DESCRIPTION FROM APPS.GR_PHRASES_B_V ORDER BY MAIN_HEADING_CODE, PHRASE_CODE;
Note that the language filter is bound to USERENV('LANG'), so the returned descriptions depend on the invoking session's language environment. All access should be performed through the APPS schema, consistent with standard EBS view conventions.
-
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_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 ,
-
SYNONYM: APPS.GR_PHRASES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GR_PHRASES_B, status:VALID,
-
SYNONYM: APPS.GR_SUB_HEADINGS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GR_SUB_HEADINGS_TL, status:VALID,
-
SYNONYM: APPS.GR_MAIN_HEADINGS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GR_MAIN_HEADINGS_TL, status:VALID,
-
SYNONYM: APPS.GR_MAIN_HEADINGS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GR_MAIN_HEADINGS_TL, status:VALID,
-
SYNONYM: APPS.GR_SUB_HEADINGS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GR_SUB_HEADINGS_TL, status:VALID,
-
12.2.2 FND Design Data
12.2.2
-
SYNONYM: APPS.GR_PHRASES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GR_PHRASES_B, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
VIEW: APPS.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,
-
VIEW: APPS.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,
-
eTRM - GR Tables and Views
12.2.2
description: GR XML mapping table ,
-
eTRM - GR Tables and Views
12.1.1
description: GR XML mapping table ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - GR Tables and Views
12.2.2
description: GR XML mapping table ,
-
eTRM - GR Tables and Views
12.1.1
description: GR XML mapping table ,