Results for “template_catg_name”

20 results




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

Overview

PRP_TEMPLATE_CATGS_TL is the translation (language) table for template categories within the Oracle EBS Proposals (PRP) module. It stores the language-dependent, translatable attributes of a template category — specifically the category name and description — with one row per category per installed language. The base, language-independent attributes of a template category are held in the companion table PRP_TEMPLATE_CATGS_B, to which this table is joined through TEMPLATE_CATG_ID.

Within the ETRM physical schema (12.2.2), the table is owned by the PRP schema and exposes ten documented columns. Its primary key, PRP_TEMPLATE_CATGS_TL_PK, is composed of (TEMPLATE_CATG_ID, LANGUAGE), and it carries a foreign key to PRP_TEMPLATE_CATGS_B on TEMPLATE_CATG_ID. From a Data Vault modeling perspective, the mined FK topology classifies this object as satellite-leaning: it is a dependent, descriptive child keyed to the base entity rather than an independent hub or an associative link. This classification is offered as a heuristic modeling suggestion, not as an operational attribute of the object.

Key Information Stored

The table's most significant columns fall into three logical groups.

  • Primary key columns: TEMPLATE_CATG_ID identifies the parent template category and ties each row to its base record; LANGUAGE identifies the language of the translated text. Together they form PRP_TEMPLATE_CATGS_TL_PK.
  • Translatable text columns: TEMPLATE_CATG_NAME and TEMPLATE_CATG_DESC hold the translated category name and description. SOURCE_LANG records the base language from which the translation originates, supporting the standard EBS multilingual (MLS) pattern.
  • Audit columns: CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, and LAST_UPDATE_LOGIN capture the standard who/when stamping used across EBS.

Two unique indexes define business-key candidates: PRP_TEMPLATE_CATGS_TL_U1 on (TEMPLATE_CATG_ID, LANGUAGE), which mirrors the primary key, and PRP_TEMPLATE_CATGS_TL_U999 on (TEMPLATE_CATG_NAME, LANGUAGE), enforcing that a category name is unique within a language. The surrogate key TEMPLATE_CATG_ID distinguishes the identity of the category, while TEMPLATE_CATG_NAME functions as the user-facing business identifier.

Common Use Cases and Queries

Because this table holds rendered display text, it is referenced whenever template categories are presented in a user's session language — for example, in the Proposals authoring UI, category pick-lists, and setup forms. Reporting queries routinely join it to the base table to return a category's display name alongside its operational attributes.

A typical lookup constrained to a single language:

SELECT t.template_catg_name, t.template_catg_desc
FROM prp_template_catgs_tl t
WHERE t.template_catg_id = :catg_id
AND t.language = userenv('LANG');

A cross-language comparison that exposes untranslated categories (missing rows for a target language):

SELECT b.template_catg_id, b.template_catg_name
FROM prp_template_catgs_b b
WHERE NOT EXISTS (
  SELECT 1 FROM prp_template_catgs_tl t
  WHERE t.template_catg_id = b.template_catg_id
  AND t.language = 'US');

Note that USERENV('LANG') typically returns values such as 'US' for EBS sessions, so joins should use the EBS language code rather than an ISO code. Note also that the NAME column is per-language unique, so reports keyed solely on name should always constrain the language.

Related Objects

  • PRP_TEMPLATE_CATGS_B — the base table holding language-independent template category attributes; joined on TEMPLATE_CATG_ID and the parent of this table's foreign key.
  • PRP_TEMPLATE_CATGS_TL_PK — the primary-key constraint (TEMPLATE_CATG_ID, LANGUAGE).
  • PRP_TEMPLATE_CATGS_TL_U1 — unique index on (TEMPLATE_CATG_ID, LANGUAGE).
  • PRP_TEMPLATE_CATGS_TL_U999 — unique index enforcing name uniqueness per language.
  • FND_LANGUAGES — Oracle Application Object Library reference table that lists installed languages and validates the LANGUAGE column against active session languages.

Because translations are always surfaced in conjunction with the base entity, any Proposals process, form, or report that renders template categories in a user's language depends on this table. Administrators responsible for translations should treat PRP_TEMPLATE_CATGS_TL_U999 as the control point for category-name consistency across languages.