Results for “gr_labels_tl_v”

27 results




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

Overview

GR_LABELS_TL_V is a language-dependent reporting view owned by the APPS schema in Oracle E-Business Suite, belonging to the Process Manufacturing Regulatory Management (GR) product family. Its purpose is to expose translated label descriptions for label codes used throughout the regulatory management module, filtered to the language currently active in the user's session environment. The "_TL" suffix denotes a translation table pattern common across EBS, in which translatable attributes are stored separately from the base entity and keyed by LANGUAGE and SOURCE_LANG. The view joins the translation rows to the FND_LANGUAGES_VL reference view so that the descriptive language name (LANG_DESC) is presented alongside each row. It is a read-only, non-key-preserved view and is marked VALID in the documented ETRM metadata for release 12.2.2.

Underlying Base Objects

The view is defined over two referenced objects:

  • GR_LABELS_TL (documented as a SYNONYM in the ETRM metadata, resolving to the translation table of the label entity) — supplies the label code, language, translated description, source language, and standard audit columns.
  • FND_LANGUAGES_VL (VIEW) — the multilingual languages view, contributing the DESCRIPTION column (aliased as LANG_DESC) matched on LANGUAGE = LANGUAGE_CODE.

Because the join predicate is LANGUAGE = LANGUAGE_CODE and the view text includes no restriction enforcing the user's LANG environment variable at the SQL level, all rows in GR_LABELS_TL are returned unless a session-level language filter is applied by a dependent form, concurrent program, or report. The ROWID of the underlying translation row is surfaced as ROW_ID, giving the view a pseudokey that can be used for locating or updating the base translation record through forms built on the table.

Key Columns

  • ROW_ID — ROWID of the GR_LABELS_TL row; a pseudokey for identifying the specific translation record.
  • LABEL_CODE — the code that uniquely identifies the label whose description is being presented.
  • LANGUAGE — the language code of the translated description (joined to FND_LANGUAGES_VL.LANGUAGE_CODE).
  • LABEL_DESCRIPTION — the language-specific text of the label; the principal payload of the view.
  • SOURCE_LANG — the language in which the label was originally authored, used to track translation origin.
  • LANG_DESC — the display name of the language, sourced from FND_LANGUAGES_VL.
  • CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — standard EBS audit columns inherited from the base translation row.

Common Use Cases and Queries

The view is typically used in label lookup reports, integration extracts, and validation queries that require label text in the operator's locale. A simple query filtered to the current language is:

SELECT label_code, label_description, lang_desc
FROM   apps.gr_labels_tl_v
WHERE  language = USERENV('LANG')
ORDER BY label_code;

To resolve a label code in a specific language, constrain the LANGUAGE column directly:

SELECT label_description
FROM   apps.gr_labels_tl_v
WHERE  label_code = :label_code
AND    language = 'US';

Because SOURCE_LANG is exposed, translation completeness checks can be written to find labels that have not been localized:

SELECT label_code, language, source_lang
FROM   apps.gr_labels_tl_v
WHERE  language = source_lang
AND    language <> :target_lang;

Integration teams commonly join the view to base label tables or to GR_LABELS_B on LABEL_CODE to build multilanguage label masters, while report authors use LANG_DESC for presentation columns. Where multiple languages are stored, the view returns one row per language per label, so callers must apply a LANGUAGE predicate to avoid duplicate label codes in result sets.