Search Results ahl_visits_pk
Overview
The AHL_VISITS_TL table is a core translation table within the Oracle E-Business Suite (EBS) module for Complex Maintenance, Repair, and Overhaul (AHL). Its primary role is to store translated, user-facing text for the columns of a Visit record, enabling the application's support for multiple languages. A Visit in AHL represents a service event or maintenance occurrence for an asset. While the base transactional data (like IDs, dates, and statuses) is stored in the AHL_VISITS_B table, AHL_VISITS_TL holds the language-specific textual descriptions, such as the visit title or purpose, that are displayed in the user interface. This separation of base and translated data is a standard Oracle EBS architecture pattern that facilitates global deployments.
Key Information Stored
The table's structure is designed to support multi-lingual content through a composite primary key and standard translation columns. The critical columns include:
- VISIT_ID: The foreign key that uniquely links each translated row to its corresponding master record in the AHL_VISITS_B table.
- LANGUAGE: The ISO code for the language of the translated text (e.g., 'US' for American English). This column, combined with VISIT_ID, forms the table's primary key (AHL_VISITS_PK).
- SOURCE_LANG: A column (implied by standard TL table design) that indicates the original language in which the data was entered.
- Translated Text Columns: These are typically named after the columns they translate from the base table, such as VISIT_NAME or DESCRIPTION. The specific column names are not detailed in the provided metadata but follow the pattern of holding the translated strings for display.
Common Use Cases and Queries
This table is primarily accessed by the application's runtime to display visit information in the user's session language. Common practical scenarios include generating multi-lingual service reports, displaying visit histories in global portals, and interfacing with translated data via APIs. A typical query to retrieve a visit's description in the current session language would join this table with its base table.
Sample SQL Pattern:
SELECT b.VISIT_NUMBER, tl.VISIT_NAME, tl.DESCRIPTION
FROM AHL_VISITS_B b, AHL_VISITS_TL tl
WHERE b.VISIT_ID = tl.VISIT_ID
AND tl.LANGUAGE = userenv('LANG')
AND b.VISIT_ID = :p_visit_id;
For reporting or data extraction across all languages, queries often omit the language filter or use the SOURCE_LANG column to identify the original record.
Related Objects
AHL_VISITS_TL has a direct and essential relationship with several key AHL objects:
- AHL_VISITS_B: This is the primary base table. A foreign key constraint (AHL_VISITS_TL.VISIT_ID) enforces that every record in the TL table must correspond to a valid VISIT_ID in the _B table.
- AHL_VISITS_VL: A common view (though not explicitly listed in the metadata) that would typically join AHL_VISITS_B and AHL_VISITS_TL to present a complete, language-sensitive record for forms and reports.
- AHL_VISITS_PKG and related AHL APIs: Application programming interfaces and PL/SQL packages for the Visits module will internally manage data in both the _B and _TL tables during creation, update, and translation processes.
-
Table: AHL_VISITS_TL
12.1.1
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_VISITS_TL, object_name:AHL_VISITS_TL, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This table stores information about translated columns for a visit , implementation_dba_data: AHL.AHL_VISITS_TL ,
-
Table: AHL_VISITS_TL
12.2.2
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_VISITS_TL, object_name:AHL_VISITS_TL, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This table stores information about translated columns for a visit , implementation_dba_data: AHL.AHL_VISITS_TL ,