Search Results cug_sr_task_type_dets_tl




Overview

The CUG_SR_TASK_TYPE_DETS_TL table is a translation table within the Oracle E-Business Suite Citizen Interaction Center (CUG) module. Its primary role is to store multilingual data for the base transactional table, CUG_SR_TASK_TYPE_DETS_B. This design is a standard Oracle EBS architecture pattern, enabling the application to support multiple languages by separating language-specific descriptive text (held in *_TL tables) from the core transactional data (held in *_B tables). The table is valid and operational in both the 12.1.1 and 12.2.2 versions of the application.

Key Information Stored

The table stores translated descriptions and names for service request task type details. Its structure is defined by a composite primary key that uniquely identifies each translated record. The most critical columns are:

  • SR_TASK_TYPE_DET_ID: The foreign key that links the translation row to its corresponding master record in the CUG_SR_TASK_TYPE_DETS_B table. This is the identifier the user searched for.
  • LANGUAGE: The language code (e.g., 'US' for American English) for the translated text. Combined with SR_TASK_TYPE_DET_ID, it forms the table's primary key.
  • NAME and DESCRIPTION: These columns typically hold the user-facing, translated text for the task type detail's name and a longer descriptive explanation, respectively. While not explicitly listed in the provided metadata, their presence is implied by the table's purpose as a translation table and is consistent with the EBS data model.
  • Standard Oracle columns like CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, and LAST_UPDATE_LOGIN are also present for auditing.

Common Use Cases and Queries

This table is primarily accessed to retrieve user interface labels and descriptions in the session language of the logged-in user. A common use case is generating reports or building service request process screens that display task type information in the appropriate locale. A typical query involves joining the translation table to its base table and filtering by the session language.

Sample SQL Pattern:
SELECT b.technical_column1,
tl.name,
tl.description
FROM cug_sr_task_type_dets_b b,
cug_sr_task_type_dets_tl tl
WHERE b.sr_task_type_det_id = tl.sr_task_type_det_id
AND tl.language = USERENV('LANG')
AND b.enabled_flag = 'Y';

Developers and DBAs may also query this table directly during data migrations or to verify translated content for specific task type detail IDs across multiple installed languages.

Related Objects

The table has a direct and singular relationship with its base table, as documented in the provided metadata.

  • Primary Key: CUG_SR_TASK_TYPE_DETS_TL_PK on columns (SR_TASK_TYPE_DET_ID, LANGUAGE).
  • Foreign Key: The table contains a foreign key constraint where its SR_TASK_TYPE_DET_ID column references the SR_TASK_TYPE_DET_ID column in the CUG_SR_TASK_TYPE_DETS_B table. This enforces referential integrity, ensuring every translation record corresponds to a valid master record.

This table is typically accessed via the standard Oracle EBS view layer (e.g., *_VL views) which automatically handles the language join, rather than through direct SQL joins in application code.