Search Results ahl_visit_types_tl_u1




Overview

AHL.AHL_VISIT_TYPES_TL is the translation (language-specific) table for visit type definitions in the Oracle E-Business Suite Advanced Service (AHL) module. Visit types are the configurable classifications used when scheduling and executing field service visits — for example routine maintenance, installation, or inspection. The base, language-independent attributes of each visit type are held in the companion table AHL_VISIT_TYPES_B, while this "_TL" table stores the translated descriptive text keyed by language.

From a Data Vault modeling perspective, the ETRM metadata classifies this table as standalone, with only a weak reference relationship (SECURITY_GROUP_ID) to FND_SECURITY_GROUPS. This suggests modeling AHL_VISIT_TYPES_TL as a satellite, keyed by the visit type surrogate (VISIT_TYPE_ID) and composed of descriptive, locale-dependent attributes such as DESCRIPTION. Where language variation is significant, it may also be treated as a link between the base visit type hub and a language dimension, since the same VISIT_TYPE_ID can appear across multiple LANGUAGE rows.

Key Information Stored

The table's physical schema in Oracle EBS 12.2.2 comprises ten columns. The most significant are:

  • VISIT_TYPE_ID — the surrogate primary key identifying the visit type; it joins back to the base definition table AHL_VISIT_TYPES_B.
  • LANGUAGE — the language code for which the translated columns apply.
  • SOURCE_LANG — indicates the language in which the translated columns were originally entered, supporting the Translation (TL) mechanism.
  • DESCRIPTION — the language-specific description of the visit type, with a documented length of up to 4000 characters.
  • LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATION_DATE, CREATED_BY, LAST_UPDATE_LOGIN — standard "Who" audit columns tracking creation and modification.
  • SECURITY_GROUP_ID — supports multi-organization / application hosting security, with a foreign key to FND_SECURITY_GROUPS.

The unique index AHL_VISIT_TYPES_TL_U1, defined on the composite of (VISIT_TYPE_ID, LANGUAGE), is the business-key candidate: it enforces one row per visit type per language and is the natural identifier for the translation. The user's search term "ahl_visit_types_tl_u1" corresponds directly to this index.

Common Use Cases and Queries

Typical reporting and integration scenarios retrieve the localized description of a visit type. A joined query returns both the base attributes and the translated text, filtered to a specific language:

SELECT b.visit_type_id, t.description FROM ahl.ahl_visit_types_b b, ahl.ahl_visit_types_tl t WHERE b.visit_type_id = t.visit_type_id AND t.language = USERENV('LANG');

When the base table holds a name column, reports commonly select it alongside the TL description, since only DESCRIPTION is translated here. Integrations that load visit types into external scheduling systems must respect the (VISIT_TYPE_ID, LANGUAGE) uniqueness to avoid duplicate translations.

Related Objects

The following objects are most relevant to AHL_VISIT_TYPES_TL:

  • AHL_VISIT_TYPES_B — the base, language-independent table; joined on VISIT_TYPE_ID.
  • AHL_VISIT_TYPES_VL — the view unioning base and translation columns for convenient display.
  • FND_SECURITY_GROUPS — referenced via SECURITY_GROUP_ID.
  • FND_LANGUAGES — provides the valid language codes for the LANGUAGE column.
  • FAH/AHL_VISIT_TYPES_TL# — the internal implementation object referenced by this table.

Together these support the localized maintenance and reporting of visit type definitions across the Enterprise Asset and Service modules in 12.1.1 and 12.2.2.