Search Results jtf_task_statuses_vl




Overview

JTF_TASK_STATUSES_VL is a Multi-Lingual Support (MLS) view owned by the APPS schema in Oracle E-Business Suite. It belongs to the JTF – CRM Foundation product family and is documented as VALID in ETRM for releases 12.1.1 and 12.2.2. The view presents the translatable and non-translatable attributes of task statuses used throughout the CRM Foundation and its dependent applications, including Oracle Tasks, Oracle TeleSales, Oracle Service, and Resource Manager task workflows.

In Oracle EBS, the "_VL" suffix denotes a view that joins a "_B" (base) table containing language-independent data with a "_TL" (translation) table containing language-specific text. JTF_TASK_STATUSES_VL therefore resolves the user's current session language via USERENV('LANG') and returns the appropriate NAME and DESCRIPTION for each task status. This design allows a single logical status definition (for example, "Working" or "Cancelled") to be stored once, with translated prompts maintained per installed language. From a reporting and integration standpoint, the view is the canonical source for status reference data, foreign key validation, and lookup queries in CRM task management.

Underlying Base Objects

The view is defined over two base objects, both documented in ETRM as synonyms: JTF_TASK_STATUSES_B and JTF_TASK_STATUSES_TL. The view text confirms a two-table join keyed on TASK_STATUS_ID, with the language restriction applied on the TL side (T.LANGUAGE = USERENV('LANG')). The base side also applies a seeded filter of B.USAGE = 'TASK', ensuring the view exposes only those statuses that apply to task entities rather than to other CRM usage contexts.

  • JTF_TASK_STATUSES_B – holds operational attributes such as TASK_STATUS_ID, CLOSED_FLAG, date-activation ranges, seeded indicators, and the many behavior flags that govern what a status permits.
  • JTF_TASK_STATUSES_TL – holds language-specific text (NAME, DESCRIPTION) keyed by TASK_STATUS_ID and LANGUAGE.
  • ROW_ID – exposed from the base table's ROWID, permitting row-level identification typical of EBS MLS views.

Key Columns

The view exposes administrative, behavioral, and descriptive columns. Understanding the flag semantics is essential for correct task-status logic.

Common Use Cases and Queries

Typical uses include lookup population for status lists of values, validation of status IDs on task records, and reporting on task distribution by status. Because the view resolves the translated NAME, it is preferred over querying the TL table directly.

List all active task statuses with translations:

SELECT TASK_STATUS_ID, NAME, DESCRIPTION, SEEDED_FLAG, CLOSED_FLAG
FROM APPS.JTF_TASK_STATUSES_VL
WHERE START_DATE_ACTIVE <= SYSDATE
AND (END_DATE_ACTIVE IS NULL OR END_DATE_ACTIVE >= SYSDATE)
ORDER BY NAME;

Identify statuses that permit deletion or scheduling:

SELECT TASK_STATUS_ID, NAME
FROM APPS.JTF_TASK_STATUSES_VL
WHERE DELETE_ALLOWED_FLAG = 'Y'
AND SCHEDULABLE_FLAG = 'Y';

Join to task records for status reporting:

SELECT t.task_id, s.name AS status_name, t.creation_date
FROM jtf_tasks_b t, apps.jtf_task_statuses_vl s
WHERE t.task_status_id = s.task_status_id;

Because the language is resolved at runtime, the same query returns correctly translated text for each user session without additional joins or NLS functions in the calling code.