Results for “token_type”

50+ results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

PRP_TOKENS_VL is a translated (VL) view in the APPS schema belonging to the PRP – Proposals product module of Oracle E-Business Suite. In Oracle EBS, a "_VL" view presents the language-specific, translated attributes of an entity joined to its base (non-translated) attributes, filtered to the session's current language. PRP_TOKENS_VL therefore exposes the definition of "tokens" — the substitution placeholders used within Oracle Proposals templates — combining descriptive, translatable text with the operational columns that govern how each token behaves. The view carries a VALID status in the ETRM repository for both 12.1.1 and 12.2.2 and is owned by APPS, confirming it is a supported, queryable interface rather than an internal implementation artifact.

Because tokens drive the dynamic content of proposal documents, this view serves reporting and integration needs: it allows developers and report authors to enumerate available tokens, inspect their data types and Java program bindings, and resolve the human-readable prompts and descriptions in the user's own language.

Underlying Base Objects

The view is defined over two synonyms in the APPS schema: PRP_TOKENS_B, which holds the base (language-independent) token definition, and PRP_TOKENS_TL, which holds the translated token name, prompt, and description for each installed language. The join is performed on TOKEN_ID, and the translation table is restricted by T.LANGUAGE = USERENV('LANG'), ensuring the caller sees only the rows matching the current session language. This is the standard Oracle multi-language architecture: the _B table stores one row per token, while the _TL table stores one row per token per language. The B row provides identity, behavioral metadata, and audit columns; the TL row supplies the display-oriented text.

Key Columns

Common Use Cases and Queries

Typical uses include building token inventories for proposal authors, validating template configuration, driving LOVs and picklists in custom forms, and extracting metadata for integrations that generate proposal documents. Because the view resolves text in the runtime language, reports built directly on it automatically display prompts and descriptions in the user's language.

To list all currently active tokens with their prompts:

  • SELECT token_code, token_name, token_prompt, data_type FROM apps.prp_tokens_vl WHERE SYSDATE BETWEEN NVL(start_date_active, SYSDATE) AND NVL(end_date_active, SYSDATE) ORDER BY token_name;

To inspect a specific token by its code:

  • SELECT token_id, token_code, token_name, token_prompt, token_desc, java_program_name FROM apps.prp_tokens_vl WHERE token_code = :p_code;

To retrieve translated content in a specific language independent of the session, query the underlying PRP_TOKENS_TL directly and join it to PRP_TOKENS_B. When using the _VL view, no language join is required, which simplifies reporting queries and keeps them aligned with Oracle's multi-language conventions.