Search Results okl_cure_refund_requests_b




Overview

The OKL_CURE_REFUND_HEADERS_TL table is a Translation Language (TL) table within the Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2, specifically for the OKL (Oracle Lease and Finance Management) module. Its primary role is to store translated, user-facing text for the base table OKL_CURE_REFUND_REQUESTS_B, adhering to Oracle's Multi-Language Support (MLS) architecture. This table enables the application to present descriptive information, such as the request description, in multiple languages based on the user's session language. It does not store transactional logic but serves as a critical supporting object for the internationalization of the cure refund request functionality.

Key Information Stored

The table's structure is characteristic of a standard EBS TL table. It stores language-specific versions of translatable columns from its base table. The key columns are:

  • CURE_REFUND_HEADER_ID and LANGUAGE: Together, these form the composite primary key (OKL_CURE_REFUND_HEADERS_TL_PK), linking each translated row to a specific record in the base table and identifying its language code (e.g., 'US', 'DE').
  • DESCRIPTION: The primary translatable field, holding the user-entered description of the cure refund request in the specified language.
  • SOURCE_LANG: Records the original language code in which the data was entered.
  • SFWT_FLAG: A system-controlled column used by the Oracle translation batch program to identify rows that require synchronization ("Seed From").
  • Standard WHO Columns (CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN): Audit columns tracking the creation and modification history of each translated row.

Common Use Cases and Queries

This table is primarily accessed indirectly by the application's user interface to display translated content. Common technical use cases include generating multi-lingual reports and troubleshooting data integrity. A typical query joins this table with its base table to retrieve descriptions in the session or a specific language.

Sample Query: Retrieve Cure Refund Requests with English Descriptions
SELECT b.REQUEST_NUMBER, tl.DESCRIPTION
FROM OKL_CURE_REFUND_REQUESTS_B b,
OKL_CURE_REFUND_HEADERS_TL tl
WHERE b.CURE_REFUND_HEADER_ID = tl.CURE_REFUND_HEADER_ID
AND tl.LANGUAGE = USERENV('LANG');

Use Case: Identify Missing Translations
SELECT b.CURE_REFUND_HEADER_ID
FROM OKL_CURE_REFUND_REQUESTS_B b
WHERE NOT EXISTS (
SELECT 1
FROM OKL_CURE_REFUND_HEADERS_TL tl
WHERE tl.CURE_REFUND_HEADER_ID = b.CURE_REFUND_HEADER_ID
AND tl.LANGUAGE = 'DE'
);

Related Objects

The table's existence is defined by its relationship to a single base table. The documented relationships are:

  • Base Table: OKL_CURE_REFUND_REQUESTS_B. This is the transactional table for which OKL_CURE_REFUND_HEADERS_TL stores translations. The relationship is maintained via the CURE_REFUND_HEADER_ID column, which is a foreign key to the primary key of the base table. The TL table's primary key is a composite of this ID and the LANGUAGE column.
  • Index: OKL_CURE_REFUND_HEADERS_TL_U1. A unique index on (CURE_REFUND_HEADER_ID, LANGUAGE) in the APPS_TS_TX_IDX tablespace that enforces the primary key constraint and supports performant joins.

As a TL table, it is also referenced by the standard Oracle Applications (APPS) synonym OKL_CURE_REFUND_HEADERS_TL, which provides the correct access path for all EBS application code.