Search Results as_sales_stages_all_tl




Overview

The AS_SALES_STAGES_ALL_TL table is a core translation table within the Oracle E-Business Suite (EBS) Sales Foundation module (AS). It operates as a supporting object to the base table AS_SALES_STAGES_ALL_B, implementing the standard Oracle EBS Multi-Language Support (MLS) architecture. Its primary role is to store translated textual descriptions for sales stage records, enabling the application to display stage names and other descriptive attributes in a user's preferred language. This table is essential for global deployments where sales processes must be presented consistently across multiple languages within the CRM and sales management functionalities of EBS 12.1.1 and 12.2.2.

Key Information Stored

The table stores language-specific translations for columns from its base table. Its structure is defined by a composite primary key combining the SALES_STAGE_ID and LANGUAGE columns, ensuring a unique translation entry exists for each stage per language. The critical columns include:

  • SALES_STAGE_ID: The unique identifier linking the translation row to a specific record in the base table AS_SALES_STAGES_ALL_B.
  • LANGUAGE: The standard Oracle language code (e.g., 'US' for American English, 'D' for German) for which the translated text is applicable.
  • NAME: The translated name of the sales stage as it should appear in the application's user interface for the specified language.
  • DESCRIPTION (implied by standard TL table conventions): While not explicitly listed in the provided metadata, translation tables typically include a translated DESCRIPTION column for the corresponding base table column.

Common Use Cases and Queries

This table is primarily accessed by the application's MLS engine to retrieve locale-specific labels. Common scenarios include generating reports in a user's native language or building multilingual picklists in the sales force automation interface. A typical query to retrieve translated sales stage information for a specific language would join this table with its base table.

Sample SQL Pattern:
SELECT b.SALES_STAGE_ID, tl.NAME, tl.DESCRIPTION, b.ENABLED_FLAG
FROM AS_SALES_STAGES_ALL_B b,
AS_SALES_STAGES_ALL_TL tl
WHERE b.SALES_STAGE_ID = tl.SALES_STAGE_ID
AND tl.LANGUAGE = USERENV('LANG') -- or a specific code like 'US'
AND b.ENABLED_FLAG = 'Y';

Related Objects

AS_SALES_STAGES_ALL_TL has a direct and singular foreign key relationship, as documented in the provided metadata. It is a dependent object of the base table.

  • AS_SALES_STAGES_ALL_B: This is the base table that holds the non-translatable core data for sales stages. The TL table joins to it via the SALES_STAGE_ID column (Foreign Key: AS_SALES_STAGES_ALL_TL.SALES_STAGE_ID -> AS_SALES_STAGES_ALL_B). All operational and reporting logic typically queries the base table while leveraging the *_TL tables for language-specific display.