Search Results ref_doc_number
Overview
JTF_ESC_UWQ_V is a read-only database view owned by the APPS schema within the JTF – CRM Foundation product family in Oracle E-Business Suite 12.1.1 and 12.2.2. Its purpose is clearly delimited in the ETRM metadata: it exposes escalation details for tasks that are surfaced in the Universal Work Queue (UWQ). UWQ is the CRM Foundation delivery mechanism through which tasks, leads, opportunities, and other work items are pushed to agents and service personnel. Escalation records represent tasks whose escalation level has been set, indicating that a work item has breached, or is approaching breach of, an internal service threshold.
Because this is a view rather than a table, it holds no data of its own. It resolves relationships across the task, task status, lookup, and task reference tables at query time, applying language-sensitive joins through USERENV('LANG') so that each user sees descriptions and status names in their session language. The view is therefore best understood as a reporting and integration surface rather than a transactional object. It is frequently consumed by UWQ dashboard regions, by concurrent programs that build escalation worklists, and by custom reports and extracts that need a flattened, human-readable representation of escalated tasks.
A notable characteristic of this view is its restrictive WHERE clause. It filters to TASK_TYPE_ID = 22, excludes deleted, closed, cancelled, completed, and rejected statuses, and requires the task reference with REFERENCE_CODE = 'ESC'. The result set is consequently limited to open, active escalations only.
Underlying Base Objects
The view is defined over a set of JTF task and lookup objects, joined primarily on TASK_ID and status identifiers. The documented referenced base objects are:
- JTF_TASKS_B and JTF_TASKS_TL – the base and translation tables holding task attributes and the language-specific description.
- JTF_TASK_STATUSES_B and JTF_TASK_STATUSES_TL – status definitions and their translated names. The view excludes closed, cancelled, completed, and rejected statuses.
- JTF_TASK_REFERENCES_B – joined with an outer (+) operator, supplying REFS_B.OBJECT_NAME and REFS_B.OBJECT_ID for the escalation reference.
- JTF_OBJECTS_B and JTF_OBJECTS_TL – queried as an inline view to obtain OBJECT_CODE, NAME, OBJECT_PARAMETERS, and OBJECT_FUNCTION for the referenced object.
- FND_LOOKUPS – restricted to LOOKUP_TYPE = 'JTF_TASK_ESC_LEVEL' to translate the escalation level code into a meaning.
- JTF_TASK_UTL and JTF_EC_UTIL – PL/SQL packages invoked as scalar functions to resolve owner, customer name, and requester name.
- FND_GLOBAL – referenced for session context.
In ETRM 12.2.2 several of these are recorded as synonyms rather than base tables, reflecting the standard APPS synonym layer.
Key Columns
The projection begins with task identity and lifecycle attributes: TASK_ID, TASK_NUMBER, DESCRIPTION, TASK_STATUS, ACTUAL_START_DATE, PLANNED_END_DATE, and ACTUAL_END_DATE. Ownership is exposed through OWNER_TYPE_CODE and OWNER_ID, with JTF_TASK_UTL.GET_OWNER deriving a display value in the OWNER column.
Escalation-specific columns include ESCALATION_LEVEL (the internal code stored on the task) and ESCALATION_LEVEL_NAME (the translated meaning from FND_LOOKUPS). Customer context is provided by CUSTOMER_NAME, computed via JTF_TASK_UTL.GET_CUSTOMER_NAME; CUST_ACCOUNT_NUMBER is selected as a literal NULL and is therefore never populated.
The escalated document reference is central to this view. REF_DOC_NUMBER maps to REFS_B.OBJECT_NAME, and REF_DOC_ID maps to REFS_B.OBJECT_ID. This is the column most relevant to the originating search term "ref_doc_number": it returns the name of the object against which the escalation reference was recorded. The associated OBJECT_CODE, NAME, OBJECT_PARAMETERS, and OBJECT_FUNCTION columns are also exposed, along with RESOURCE_ID and RESOURCE_TYPE, which mirror the owner identifiers for UWQ resource routing. A requester name column is produced by JTF_EC_UTIL.GET_REQUESTER_NAME but is not aliased in the view text.
Common Use Cases and Queries
The principal use case is populating UWQ escalation lists for a given resource, and reporting on which open tasks are escalated and to what level. A typical query filters by owner and orders by the planned end date:
- SELECT task_number, description, escalation_level_name, ref_doc_number, planned_end_date FROM jtf_esc_uwq_v WHERE resource_id = :owner_id ORDER BY planned_end_date;
- SELECT escalation_level_name, COUNT(*) FROM jtf_esc_uwq_v GROUP BY escalation_level_name;
- SELECT task_number, ref_doc_number, customer_name FROM jtf_esc_uwq_v WHERE ref_doc_number LIKE :pattern;
- SELECT object_code, object_function, COUNT(*) FROM jtf_esc_uwq_v GROUP BY object_code, object_function;
Because the view applies function calls per row, queries returning large volumes should be filtered aggressively on resource or escalation level. Users requiring closed or deleted escalations must query the underlying JTF_TASKS_B tables directly, as the view cannot return them.
-
View: JTF_ESC_UWQ_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_ESC_UWQ_V, object_name:JTF_ESC_UWQ_V, status:VALID, product: JTF - CRM Foundation , description: This view contains escalation details to be displayed in Universal Work Queue. , implementation_dba_data: APPS.JTF_ESC_UWQ_V ,
-
VIEW: APPS.IEU_UWQ_ESC_MYOWN_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:IEU.IEU_UWQ_ESC_MYOWN_V, object_name:IEU_UWQ_ESC_MYOWN_V, status:VALID,
-
VIEW: APPS.JTF_ESC_UWQ_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_ESC_UWQ_V, object_name:JTF_ESC_UWQ_V, status:VALID,
-
View: JTF_ESC_UWQ_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_ESC_UWQ_V, object_name:JTF_ESC_UWQ_V, status:VALID, product: JTF - CRM Foundation , description: This view contains escalation details to be displayed in Universal Work Queue. , implementation_dba_data: APPS.JTF_ESC_UWQ_V ,
-
View: IEU_UWQ_ESC_MYOWN_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:IEU.IEU_UWQ_ESC_MYOWN_V, object_name:IEU_UWQ_ESC_MYOWN_V, status:VALID, product: IEU - Universal Work Queue , description: View used for UWQ selector SpreadTable. , implementation_dba_data: APPS.IEU_UWQ_ESC_MYOWN_V ,
-
VIEW: APPS.JTF_ESC_UWQ_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_ESC_UWQ_V, object_name:JTF_ESC_UWQ_V, status:VALID,
-
VIEW: APPS.JTF_ESC_UWQ_V
12.2.2
-
VIEW: APPS.JTF_ESC_UWQ_V
12.1.1
-
View: IEU_UWQ_ESC_MYOWN_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IEU.IEU_UWQ_ESC_MYOWN_V, object_name:IEU_UWQ_ESC_MYOWN_V, status:VALID, product: IEU - Universal Work Queue , description: View used for UWQ selector SpreadTable. , implementation_dba_data: APPS.IEU_UWQ_ESC_MYOWN_V ,
-
VIEW: APPS.IEU_UWQ_ESC_MYOWN_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IEU.IEU_UWQ_ESC_MYOWN_V, object_name:IEU_UWQ_ESC_MYOWN_V, status:VALID,
-
eTRM - IEU Tables and Views
12.2.2
description: UI Component-Data Types mapping ,
-
eTRM - IEU Tables and Views
12.1.1
description: UI Component-Data Types mapping ,
-
eTRM - JTF Tables and Views
12.2.2
description: Interface table to store data that needs to be displayed in Excel ,
-
eTRM - JTF Tables and Views
12.1.1
description: Interface table to store data that needs to be displayed in Excel ,