Results for “iby_g_msg_templates_vl”

24 results




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

Overview

IBY_G_MSG_TEMPLATES_VL is a read-only, language-dependent (VL, "view with translation") database view owned by the APPS schema in Oracle E-Business Suite. It belongs to the IBY (Payments) product module and is validated against both release 12.1.1 and 12.2.2. The view exposes message template definitions used by Oracle Payments to construct and format outbound messages, notifications, and instruction blocks associated with payment processing, funds capture, and payment formatting.

The design follows the standard Oracle EBS multilingual convention: a "_B" base table stores language-independent columns, a "_TL" translation table stores language-dependent text, and a "_VL" view joins the two. This allows the application to retrieve template name, description, and body text in the session's active language, driven by USERENV('LANG'). For reporting and integration, this view is the appropriate source when message template metadata must be read in a user-readable language, rather than querying the underlying translation tables directly.

Underlying Base Objects

Per the documented view text and ETRM metadata, IBY_G_MSG_TEMPLATES_VL is defined over three joined sources:

The ETRM metadata also records FND_GLOBAL (package) as a referenced object, consistent with use of USERENV('LANG') / FND_GLOBAL.LANG_CODE in the join predicate. The view therefore presents a denormalized, language-resolved picture of the base template tables rather than introducing any independent data.

Key Columns

Common Use Cases and Queries

Typical scenarios include auditing which message templates are seeded or frozen, reporting active templates by type, and retrieving template body text for reconciliation against configured payment processes.

List active templates by type:

SELECT msg_template_name, msg_template_number, msg_type_meaning,
       frozen_flag, seeded_flag, start_date_active, end_date_active
FROM   apps.iby_g_msg_templates_vl
WHERE  (start_date_active IS NULL OR start_date_active <= SYSDATE)
AND    (end_date_active   IS NULL OR end_date_active   >= SYSDATE)
ORDER  BY msg_type_meaning, msg_template_name;

Retrieve template body for a given template:

SELECT msg_template_name, name, description, message_template
FROM   apps.iby_g_msg_templates_vl
WHERE  msg_template_id = :p_template_id;

Count seeded versus user-defined templates:

SELECT seeded_flag, COUNT(*)
FROM   apps.iby_g_msg_templates_vl
GROUP  BY seeded_flag;

Because the view filters on MTTL.LANGUAGE = USERENV('LANG'), queries return text in the language of the invoking session; callers requiring a specific language should set the session language accordingly or join the TL table directly.