Search Results action_code_id




Overview

The XDP_ACTION_CODES_TL table is a Translation (TL) table within the Oracle E-Business Suite Provisioning (XDP) module. Its primary function is to store multilingual descriptions for action codes, enabling the application to present user-facing text in the language specified by a user's session. This table is a critical component for supporting global deployments of Oracle EBS. It directly supports the base table XDP_ACTION_CODES, which holds the core, language-independent definition of provisioning actions. While the provided ETRM documentation states "Not used" in the description field, this is a common placeholder and does not reflect the table's actual operational importance in the data model for supporting multilingual functionality in versions 12.1.1 and 12.2.2.

Key Information Stored

The table stores translated text for action code entities. Its structure is defined by a composite primary key and columns for the translated content. The most significant columns include:

  • ACTION_CODE_ID: The foreign key that uniquely links each row of translated text to a specific master record in the XDP_ACTION_CODES base table.
  • LANGUAGE: Identifies the language of the translated text (e.g., 'US' for American English, 'D' for German). Together with ACTION_CODE_ID, it forms the table's primary key.
  • SOURCE_LANG: Typically present in TL tables, this column indicates the original language in which the data was entered.
  • User-Description Columns: While not explicitly listed in the brief metadata, standard TL table design includes columns like DESCRIPTION or MEANING to hold the actual translated text for the action code.

Common Use Cases and Queries

This table is primarily accessed indirectly by the application's multilingual architecture. Common use cases involve reporting or data extraction where action code descriptions must be presented in a specific language. A typical query joins this table with its base table, filtered by the session language or a target language. For example, to retrieve all action codes with their English descriptions:

SELECT b.ACTION_CODE, tl.DESCRIPTION
FROM XDP_ACTION_CODES b,
     XDP_ACTION_CODES_TL tl
WHERE b.ACTION_CODE_ID = tl.ACTION_CODE_ID
  AND tl.LANGUAGE = 'US'
  AND tl.SOURCE_LANG = tl.LANGUAGE;

Another critical use case is during implementation or upgrade, where seed data for translations is loaded or verified via this table to ensure all supported languages are populated for defined action codes.

Related Objects

The table has a direct and singular relationship with its base table, as documented in the provided metadata. Key related objects include:

  • XDP_ACTION_CODES (Base Table): This is the primary related object. The foreign key constraint defines that XDP_ACTION_CODES_TL.ACTION_CODE_ID references a valid ACTION_CODE_ID in XDP_ACTION_CODES. All translation records are dependent on a master record existing in this table.
  • Primary Key Constraint: XDP_ACTION_CODES_TL_PK on columns (ACTION_CODE_ID, LANGUAGE) enforces uniqueness for translations per language per action code.