Search Results jtf_task_templates_vl




Overview

APPS.JTF_TASK_TEMPLATES_VL is a multi-language (MLS) validation view in the Oracle E-Business Suite CRM Foundation (JTF) product module. It presents task template definitions in a language-resolved, single-row-per-template form by joining the base table JTF_TASK_TEMPLATES_B with the translation table JTF_TASK_TEMPLATES_TL. In EBS 12.1.1 and 12.2.2 the view carries a status of VALID and is owned by the APPS schema.

Task templates are the reusable definitions from which scheduled tasks are generated in CRM applications such as TeleSales, Sales, Service, and the Task Manager. The _VL suffix indicates that the view returns translated (language-specific) descriptive attributes — TASK_NAME and DESCRIPTION — based on the session language, while the remaining functional attributes (scheduling, alarm, recurrence, and classification settings) come from the language-independent base table. The view is therefore the preferred reporting and integration access point for task template data, because it shields consumers from the two-table MLS design and eliminates the need to write an explicit language join.

Underlying Base Objects

The documented view text defines the view over two synonyms referenced by the APPS schema:

  • JTF_TASK_TEMPLATES_B — the base (language-independent) table holding the operational attributes of each template, aliased as B. It supplies all non-translatable columns.
  • JTF_TASK_TEMPLATES_TL — the translation table, aliased as T, holding TASK_NAME and DESCRIPTION per installed language.

The join condition is B.TASK_TEMPLATE_ID = T.TASK_TEMPLATE_ID combined with T.LANGUAGE = USERENV('LANG'). This predicate restricts the result set to the translation row matching the current session language, producing exactly one logical row per task template. Because the language restriction is embedded in the view definition, the view returns rows for a single language context at a time; if a translation is missing for the session language, no row is returned for that template. The ROW_ID column exposes B.ROWID, permitting row-address access patterns for update-oriented processing.

Key Columns

Common Use Cases and Queries

Typical uses include reporting the catalogue of available task templates, filtering templates by type or status, auditing alarm and recurrence configuration, and driving integrations that must resolve template names in the user's language.

List active, language-resolved templates by type:

  • SELECT task_template_id, task_number, task_name, task_type_id FROM jtf_task_templates_vl WHERE deleted_flag = 'N' ORDER BY task_name;

Retrieve notification and alarm settings for a specific template:

  • SELECT task_name, alarm_on, alarm_start, alarm_start_uom, notification_flag, notification_period, notification_period_uom FROM jtf_task_templates_vl WHERE task_template_id = :p_template_id;

Audit recently modified templates:

  • SELECT task_template_id, task_name, last_updated_by, last_update_date FROM jtf_task_templates_vl WHERE last_update_date >= SYSDATE - 7 ORDER BY last_update_date DESC;

Join to scheduled tasks by template:

  • SELECT v.task_name, COUNT(*) FROM jtf_task_templates_vl v, jtf_tasks_b t WHERE t.template_id = v.task_template_id GROUP BY v.task_name;

Because the session language predicate is built into the view, queries executed under a different USERENV('LANG') return the corresponding translation automatically, making the view suitable for both English and non-English reporting environments without modification.