Search Results jtf_task_reason_codes
Overview
APPS.JTF_ESCALATION_TASK_V is an Oracle E-Business Suite (EBS) reporting and integration view that exposes escalated task records from the CRM/TeleService task framework. It is defined in the APPS schema and is available in EBS 12.1.1 and 12.2.2. The view presents a denormalized, user-facing projection of task data combined with descriptive lookup meanings and customer/party context, so that consumers do not need to join the underlying lookup and party tables themselves.
The view is restricted to escalation tasks: its WHERE clause filters on T.TASK_TYPE_ID = 22 and on NVL(T.DELETED_FLAG,'N') = 'N', so only non-deleted escalation-type tasks are returned. It also resolves the enabled lookup meanings for escalation level and reason code, making the view well suited to operational dashboards and escalation reporting.
Underlying Base Objects
The view is defined over a mix of base tables, synonyms, and other views. The documented referenced objects are:
- JTF_TASKS_VL – the primary task view (aliased T), supplying identity, status, ownership, scheduling, and attribute columns.
- JTF_EC_STATUSES_VL – supplies the task status name (aliased S).
- JTF_OBJECTS_TL – supplies the owner type name from the object code (aliased JTOT).
- HZ_PARTIES, HZ_CUST_ACCOUNTS, HZ_PARTY_SITES, HZ_LOCATIONS – party, account, site, and location data joined with outer joins for customer name, account number, and address.
- FND_LOOKUPS – queried twice via inline subqueries to resolve the meaning of escalation level (lookup type
JTF_TASK_ESC_LEVEL) and reason code (lookup typeJTF_TASK_REASON_CODES), filtering to enabled lookups active as of SYSDATE. - FND_GLOBAL – used through USERENV('LANGUAGE') to constrain the JTF_OBJECTS_TL language.
All customer-side joins use the outer-join (+) syntax, so tasks survive even where party, account, site, or location data is missing.
Key Columns
- ROW_ID, TASK_ID, TASK_NUMBER – unique identifiers for the task record.
- TASK_NAME, DESCRIPTION – task identity and detail text.
- TASK_TYPE_ID, TASK_STATUS_ID, STATUS_NAME – task classification and resolved status.
- OWNER_ID, OWNER_TYPE_CODE, OWNER_TYPE, OWNER_TERRITORY_ID – task ownership and the descriptive owner type.
- ESCALATION_LEVEL, L.MEANING – the escalation level code and its lookup meaning (JTF_TASK_ESC_LEVEL).
- REASON_CODE, R.MEANING – the escalation reason code and its lookup meaning (JTF_TASK_REASON_CODES).
- CUSTOMER_ID, PARTY_NAME, CUST_ACCOUNT_ID, ACCOUNT_NUMBER, ADDRESS_ID, CITY – customer and address context.
- ACTUAL_START_DATE, ACTUAL_END_DATE, PLANNED_END_DATE – scheduling and elapsed-time analysis.
- PARENT_TASK_ID, DELETED_FLAG, PRIVATE_FLAG, PUBLISH_FLAG, WORKFLOW_PROCESS_ID – hierarchy and processing control.
- SOURCE_OBJECT_TYPE_CODE, SOURCE_OBJECT_ID, SOURCE_OBJECT_NAME – originating source object linkage.
- ATTRIBUTE_CATEGORY, ATTRIBUTE1..ATTRIBUTE15 – descriptive flexfield values.
Common Use Cases and Queries
Typical uses include escalation aging reports, reason-code distribution analysis, owner workload reporting, and integration extracts into external systems. The view is commonly queried directly in BI Publisher reports and custom concurrent programs.
- Open escalations with reason and level meanings:
SELECT TASK_NUMBER, TASK_NAME, ESCALATION_LEVEL, MEANING_1, REASON_CODE, PARTY_NAME, CREATION_DATE FROM APPS.JTF_ESCALATION_TASK_V WHERE ACTUAL_END_DATE IS NULL;
- Count escalations grouped by reason code:
SELECT REASON_CODE, R_MEANING, COUNT(*) FROM APPS.JTF_ESCALATION_TASK_V GROUP BY REASON_CODE, R_MEANING;
- Escalation tasks linked to a specific customer:
SELECT TASK_NUMBER, PARTY_NAME, ACCOUNT_NUMBER, STATUS_NAME FROM APPS.JTF_ESCALATION_TASK_V WHERE CUSTOMER_ID = :p_party_id;
Because the view already resolves lookup and party data, it eliminates the need to join FND_LOOKUPS (JTF_TASK_REASON_CODES, JTF_TASK_ESC_LEVEL) and the HZ tables in downstream queries. Note that the two meaning columns may collide in name in some client tools; aliasing them explicitly is recommended.
-
Lookup Type: JTF_TASK_REASON_CODES
12.1.1
product: JTF - CRM Foundation , meaning: Escalation Reasons , description: Escalation Reasons ,
-
Lookup Type: JTF_TASK_REASON_CODES
12.2.2
product: JTF - CRM Foundation , meaning: Escalation Reasons , description: Escalation Reasons ,
-
VIEW: APPS.JTF_ESCALATION_TASK_V
12.1.1
-
VIEW: APPS.JTF_ESCALATION_TASK_V
12.2.2
-
VIEW: APPS.CSF_ESC_TASKS_V
12.2.2
-
VIEW: APPS.CSF_ESC_TASKS_V
12.1.1
-
View: JTF_ESCALATION_TASK_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_ESCALATION_TASK_V, object_name:JTF_ESCALATION_TASK_V, status:VALID, product: JTF - CRM Foundation , description: Internal View for Escalations , implementation_dba_data: APPS.JTF_ESCALATION_TASK_V ,
-
View: JTF_ESCALATION_TASK_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_ESCALATION_TASK_V, object_name:JTF_ESCALATION_TASK_V, status:VALID, product: JTF - CRM Foundation , description: Internal View for Escalations , implementation_dba_data: APPS.JTF_ESCALATION_TASK_V ,
-
View: CSF_ESC_TASKS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CSF.CSF_ESC_TASKS_V, object_name:CSF_ESC_TASKS_V, status:VALID, product: CSF - Field Service , description: Field service escalated tasks. , implementation_dba_data: APPS.CSF_ESC_TASKS_V ,
-
View: CSF_ESC_TASKS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CSF.CSF_ESC_TASKS_V, object_name:CSF_ESC_TASKS_V, status:VALID, product: CSF - Field Service , description: Field service escalated tasks. , implementation_dba_data: APPS.CSF_ESC_TASKS_V ,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
APPS.BIV_BIN_ESC_RSC_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.BIV_BIN_ESC_RSC_PKG
12.1.1
-
PACKAGE: APPS.JTF_EC_PUB
12.2.2
-
APPS.BIV_BIN_ESC_RSC_PKG dependencies on BIV_TMP_RT2
12.1.1
-
PACKAGE: APPS.JTF_EC_PUB
12.1.1
-
APPS.JTF_EC_PUB dependencies on HZ_PARTY_SITES
12.2.2
-
APPS.JTF_EC_PUB dependencies on HZ_PARTY_SITES
12.1.1
-
APPS.BIV_BIN_ESC_RSC_PKG dependencies on FND_LOOKUPS
12.1.1
-
APPS.JTF_EC_PUB dependencies on HZ_CUST_ACCOUNTS
12.2.2
-
APPS.JTF_EC_PUB dependencies on HZ_CUST_ACCOUNTS
12.1.1
-
PACKAGE BODY: APPS.JTF_EC_PUB
12.1.1
-
PACKAGE BODY: APPS.JTF_EC_PUB
12.2.2
-
APPS.JTF_EC_PUB dependencies on JTF_EC_UTIL
12.1.1
-
APPS.JTF_EC_PUB dependencies on JTF_EC_UTIL
12.2.2
-
APPS.JTF_EC_PUB dependencies on FND_API
12.1.1
-
APPS.JTF_EC_PUB dependencies on FND_API
12.2.2