Results for “jtf_task_territory_v”
26 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
APPS.JTF_TASK_TERRITORY_V is an internal view owned by the APPS schema in Oracle E-Business Suite release 12.1.1 and 12.2.2. It belongs to the JTF – CRM Foundation product family and is documented as an internal view used by the Assignment Manager. The view presents a flattened, assignment-oriented projection of task data joined to customer party site and location information, exposing territory-relevant attributes such as country, city, state, province, postal code, county, phone area code, and customer name. Its purpose is to provide the Assignment Manager with the attribute values required to evaluate territory and assignment rules against task records.
Because the view carries no user-facing application responsibility of its own, it should be treated as a supporting database object rather than a public integration interface. The inclusion of NUM_OF_EMPLOYEES, which is not derived from any of the referenced base objects, indicates that the view was designed as a fixed attribute carrier whose columns map positionally to a set of assignment criteria expected by the Assignment Manager.
Underlying Base Objects
The view is defined over the following documented objects:
- JTF_TASKS_VL (VIEW) — the primary task source, supplying
TASK_ID,CUSTOMER_ID,ADDRESS_ID, and the task type, status, and priority identifiers. - HZ_PARTY_SITES (SYNONYM) — joined through
TASK.ADDRESS_ID = PARTY_SITE.PARTY_SITE_ID (+)as an outer join. - HZ_LOCATIONS (SYNONYM) — joined through
PARTY_SITE.LOCATION_ID = LOC.LOCATION_ID (+), supplying geographic attributes. - HZ_CONTACT_POINTS (SYNONYM) — joined on owner table
'HZ_PARTIES'and owner id equal to the task customer id, supplying the phone area code. - JTF_TASK_UTL (PACKAGE) — invoked as
JTF_TASK_UTL.GET_CUSTOMER_NAME(CUSTOMER_ID)to derive the customer name range.
The use of outer joins (+) on the party site and location relationships means task rows are retained even when no address, party site, or location record exists, producing nulls in the corresponding geographic columns.
Key Columns
TASK_ID— identifier of the task record fromJTF_TASKS_VL.PARTY_ID— the customer identifier, aliased fromTASK.CUSTOMER_ID.COUNTRY,CITY,STATE,PROVINCE,POSTAL_CODE,COUNTY— geographic attributes fromHZ_LOCATIONS.AREA_CODE— phone area code fromHZ_CONTACT_POINTS.COMP_NAME_RANGE— customer name obtained via theJTF_TASK_UTL.GET_CUSTOMER_NAMEfunction.NUM_OF_EMPLOYEES— exposed as a literalNULLin the view definition; despite the column name, no employee count is populated by this view.TASK_TYPE_ID,TASK_STATUS_ID,TASK_PRIORITY_ID— classification identifiers for the task.ATTRIBUTE1throughATTRIBUTE15— descriptor columns defined asNULLplaceholders, preserved so the view presents a consistent attribute layout to the Assignment Manager.
Common Use Cases and Queries
The view is primarily consumed by Assignment Manager processing rather than by ad hoc reporting. Diagnostic queries are useful when validating why a task was or was not routed to a given territory.
A typical inspection query:
SELECT TASK_ID, PARTY_ID, COMP_NAME_RANGE, COUNTRY, CITY, STATE, PROVINCE, POSTAL_CODE, AREA_CODE FROM APPS.JTF_TASK_TERRITORY_V WHERE TASK_ID = :task_id;SELECT TASK_TYPE_ID, TASK_STATUS_ID, TASK_PRIORITY_ID, COUNT(*) FROM APPS.JTF_TASK_TERRITORY_V GROUP BY TASK_TYPE_ID, TASK_STATUS_ID, TASK_PRIORITY_ID;SELECT COUNT(*) FROM APPS.JTF_TASK_TERRITORY_V WHERE NUM_OF_EMPLOYEES IS NULL;— confirms the published behavior thatNUM_OF_EMPLOYEESis always null in this view.
Because NUM_OF_EMPLOYEES is hard-coded to NULL, any territory rule referencing employee count must obtain that value from another source. Queries that filter or sort on this column will return no matches.
-
View: JTF_TASK_TERRITORY_V 12.1.1
Internal View used by the Assignment Manager
APPS.JTF_TASK_TERRITORY_V·↳ HZ_CONTACT_POINTS·↳ HZ_LOCATIONS·↳ HZ_PARTY_SITES·Explore JTF module →
-
View: JTF_TASK_TERRITORY_V 12.2.2
Internal View used by the Assignment Manager
APPS.JTF_TASK_TERRITORY_V·↳ HZ_CONTACT_POINTS·↳ HZ_LOCATIONS·↳ HZ_PARTY_SITES·Explore JTF module →
-
12.2.2 DBA Data 12.2.2
-
12.1.1 FND Design Data 12.1.1
-
12.1.1 DBA Data 12.1.1
-
12.2.2 FND Design Data 12.2.2
-
VIEW: APPS.JTF_TASKS_VL 12.1.1
-
VIEW: APPS.JTF_TASKS_VL 12.2.2
-
SYNONYM: APPS.HZ_LOCATIONS 12.2.2
-
SYNONYM: APPS.HZ_LOCATIONS 12.1.1
-
SYNONYM: APPS.HZ_PARTY_SITES 12.1.1
-
SYNONYM: APPS.HZ_PARTY_SITES 12.2.2
-
eTRM - JTF Tables and Views 12.2.2
Interface table to store data that needs to be displayed in Excel
-
12.2.2 DBA Data 12.2.2
-
eTRM - JTF Tables and Views 12.1.1
Interface table to store data that needs to be displayed in Excel
-
12.1.1 DBA Data 12.1.1
-
eTRM - JTF Tables and Views 12.2.2
Interface table to store data that needs to be displayed in Excel
-
eTRM - JTF Tables and Views 12.1.1
Interface table to store data that needs to be displayed in Excel