Search Results csr_trip_tasks_v
Overview
CSR_TRIP_TASKS_V is a seeded Oracle E-Business Suite view owned by the APPS schema and delivered with the CSR (Scheduler) product family. As documented in ETRM, the view is defined as "selecting all tasks in all trips that scheduler can handle." It therefore serves as the primary denormalized access point for the Scheduler engine and for any reporting layer that must inspect the task-level detail of a dispatch trip without navigating the full JTF task assignment data model.
The view consolidates data from task headers, task assignments, task types, task statuses, resource locations, and requirement lines, and it applies Scheduler package functions to convert durations and resolve geographic locus attributes. Because it exposes only tasks whose type and status configuration permit scheduling, it functions as the authoritative "schedulable universe" for the Scheduler. In Oracle EBS 12.1.1 and 12.2.2 the view remains VALID, and the 12.2.2 edition ships with the standard OAF-style OBJECT_VERSION_NUMBER columns inherited from its base tables, confirming that it is maintained under the same editioning and versioning conventions as other CSR objects. Typical consumers include Field Service dispatch dashboards, custom trip plan reports, and integration extracts that feed external routing or mobile workforce applications.
Underlying Base Objects
The view is defined over a documented set of base objects. The task and assignment core is supplied by JTF_TASKS_B, JTF_TASK_ASSIGNMENTS, JTF_TASK_STATUSES_B, JTF_TASK_TYPES_B, and JTF_TASK_PRIORITIES_B. Trip and capacity context is drawn from CSP_REQUIREMENT_HEADERS and CSP_REQUIREMENT_LINES, with capacity screened through CAC_SR_OBJECT_CAPACITY and access windows through CSF_ACCESS_HOURS_B. Geographic data comes from HZ_LOCATIONS, and task dependencies from JTF_TASK_DEPENDS.
Business logic is not stored in the SQL alone; the view calls several PL/SQL packages. CSF_UTIL_PVT performs UOM conversion (CONVERT_TO_MINUTES) and returns the scheduler's canonical minute unit (GET_UOM_MINUTES). CSR_SCHEDULER_PVT.GET_TIMEZONE resolves the timezone from the task address. CSF_LOCUS_PUB extracts locus segment, side, spot, latitude, and the SHOULD_CALL_LF indicator from the geometry column of HZ_LOCATIONS. CSF_TASKS_PUB participates in the task-side declarations. These package dependencies mean the view is only valid when the CSF and CSR package bodies compile successfully, which is a common failure mode after patching.
Key Columns
The projection aliases the base columns with prefixes T (task) and TA (task assignment) to disambiguate the join. Notable columns include:
- TASK_ID, TASK_TYPE_ID, TASK_STATUS_ID — the task header identity, type, and current status.
- TA_TASK_ASSIGNMENT_ID, TA_RESOURCE_ID, TA_RESOURCE_TYPE_CODE, TA_SHIFT_CONSTRUCT_ID, TA_ASSIGNMENT_STATUS_ID — assignment-level detail identifying the assigned resource and its shift.
- PLANNED_START_DATE, PLANNED_END_DATE, SCHEDULED_START_DATE, SCHEDULED_END_DATE — planned versus scheduled windows, with SOFT_BOUND_FLAG indicating whether the planned window may be violated.
- ACTUAL_START_DATE, ACTUAL_END_DATE — actual execution timestamps from the assignment.
- TA_SCHED_TRAVEL_DURATION, TA_SCHED_TRAVEL_DISTANCE, SCHED_TRAVEL_DURATION_UOM — travel effort expressed in canonical minutes via CSF_UTIL_PVT.
- PLANNED_EFFORT and PLANNED_EFFORT_UOM — converted planned effort in minutes.
- TIMEZONE_ID — resolved through CSR_SCHEDULER_PVT.GET_TIMEZONE(T.ADDRESS_ID).
- SCHEDULABLE_FLAG, TY_SCHEDULE_FLAG, TA_SCHEDULABLE_FLAG — NVL-defaulted flags that determine scheduler eligibility.
- ASSIGNMENT_COUNT — scalar subquery counting non-cancelled ASSIGNEE-role assignments.
- LOCUS_SEGMENTID, LOCUS_SIDE, LOCUS_SPOT, SHOULD_CALL_LF — locus attributes resolved from geometry.
- OBJECT_VERSION_NUMBER and TA_OBJECT_VERSION_NUMBER — optimistic locking columns.
Common Use Cases and Queries
The most frequent use is retrieving all schedulable tasks for a trip or resource within a date range. A representative query joins the view to trip context:
SELECT task_id, ta_task_assignment_id, planned_start_date, scheduled_start_date, ta_sched_travel_duration, schedulable_flag FROM csr_trip_tasks_v WHERE trunc(planned_start_date) BETWEEN :p_start AND :p_end AND schedulable_flag = 'Y';
Dispatchers filter on TA_RESOURCE_ID to build a resource workload list, or on TASK_STATUS_ID to isolate unassigned work. Integration extracts select the locus columns to push coordinates to mobile devices, while analytics teams aggregate TA_SCHED_TRAVEL_DURATION and PLANNED_EFFORT to measure utilization. Administrators debugging scheduling behavior commonly query SCHEDULABLE_FLAG, TY_SCHEDULE_FLAG, and TA_SCHEDULABLE_FLAG together to determine why a task is excluded. Because the view is not a table, no DML should be issued against it; all maintenance is performed on JTF_TASKS_B and JTF_TASK_ASSIGNMENTS.
-
View: CSR_TRIP_TASKS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CSR.CSR_TRIP_TASKS_V, object_name:CSR_TRIP_TASKS_V, status:VALID, product: CSR - Scheduler , description: View selecting all tasks in all trips that scheduler can handle , implementation_dba_data: APPS.CSR_TRIP_TASKS_V ,
-
View: CSR_TRIP_TASKS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CSR.CSR_TRIP_TASKS_V, object_name:CSR_TRIP_TASKS_V, status:VALID, product: CSR - Scheduler , description: View selecting all tasks in all trips that scheduler can handle , implementation_dba_data: APPS.CSR_TRIP_TASKS_V ,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.CSR_SCHEDULER_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CSR_SCHEDULER_PVT, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
PACKAGE: APPS.CSF_LOCUS_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSF_LOCUS_PUB, status:VALID,
-
PACKAGE: APPS.CSR_SCHEDULER_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSR_SCHEDULER_PVT, status:VALID,
-
PACKAGE: APPS.CSF_LOCUS_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CSF_LOCUS_PUB, status:VALID,
-
SYNONYM: APPS.CSF_ACCESS_HOURS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSF_ACCESS_HOURS_B, status:VALID,
-
SYNONYM: APPS.CSF_ACCESS_HOURS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CSF_ACCESS_HOURS_B, status:VALID,
-
SYNONYM: APPS.CAC_SR_OBJECT_CAPACITY
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CAC_SR_OBJECT_CAPACITY, status:VALID,
-
SYNONYM: APPS.JTF_TASK_DEPENDS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_DEPENDS, status:VALID,
-
SYNONYM: APPS.CAC_SR_OBJECT_CAPACITY
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CAC_SR_OBJECT_CAPACITY, status:VALID,
-
PACKAGE: APPS.CSF_UTIL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CSF_UTIL_PVT, status:VALID,
-
PACKAGE: APPS.CSF_TASKS_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CSF_TASKS_PUB, status:VALID,
-
PACKAGE: APPS.CSF_UTIL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSF_UTIL_PVT, status:VALID,
-
SYNONYM: APPS.CSP_REQUIREMENT_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CSP_REQUIREMENT_LINES, status:VALID,
-
SYNONYM: APPS.JTF_TASK_DEPENDS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_DEPENDS, status:VALID,
-
SYNONYM: APPS.JTF_TASK_PRIORITIES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_PRIORITIES_B, status:VALID,
-
SYNONYM: APPS.CSP_REQUIREMENT_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CSP_REQUIREMENT_HEADERS, status:VALID,
-
SYNONYM: APPS.CSP_REQUIREMENT_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSP_REQUIREMENT_LINES, status:VALID,
-
PACKAGE: APPS.CSF_TASKS_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSF_TASKS_PUB, status:VALID,
-
PACKAGE BODY: APPS.CSF_TASKS_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CSF_TASKS_PUB, status:VALID,
-
SYNONYM: APPS.CSP_REQUIREMENT_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSP_REQUIREMENT_HEADERS, status:VALID,
-
SYNONYM: APPS.JTF_TASK_TYPES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_TYPES_B, status:VALID,
-
PACKAGE BODY: APPS.CSF_TASKS_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CSF_TASKS_PUB, status:VALID,
-
SYNONYM: APPS.JTF_TASK_TYPES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_TYPES_B, status:VALID,
-
SYNONYM: APPS.JTF_TASK_STATUSES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_STATUSES_B, status:VALID,
-
SYNONYM: APPS.JTF_TASK_ASSIGNMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_ASSIGNMENTS, status:VALID,
-
SYNONYM: APPS.JTF_TASK_STATUSES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_STATUSES_B, status:VALID,
-
SYNONYM: APPS.JTF_TASK_ASSIGNMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_ASSIGNMENTS, status:VALID,
-
eTRM - CSR Tables and Views
12.1.1
description: The translated table for window to promise parameters ,
-
SYNONYM: APPS.JTF_TASKS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_TASKS_B, status:VALID,
-
eTRM - CSR Tables and Views
12.2.2
description: The translated table for window to promise parameters ,
-
SYNONYM: APPS.JTF_TASKS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_TASKS_B, status:VALID,
-
APPS.CSF_TASKS_PUB dependencies on CSR_TRIP_TASKS_V
12.2.2
-
APPS.CSF_TASKS_PUB dependencies on CSR_TRIP_TASKS_V
12.1.1
-
VIEW: APPS.CSR_TRIP_TASKS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CSR.CSR_TRIP_TASKS_V, object_name:CSR_TRIP_TASKS_V, status:VALID,
-
VIEW: APPS.CSR_TRIP_TASKS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CSR.CSR_TRIP_TASKS_V, object_name:CSR_TRIP_TASKS_V, status:VALID,
-
SYNONYM: APPS.HZ_LOCATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_LOCATIONS, status:VALID,
-
SYNONYM: APPS.HZ_LOCATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_LOCATIONS, status:VALID,
-
APPS.CSF_TASKS_PUB SQL Statements
12.1.1
-
eTRM - CSR Tables and Views
12.1.1
description: The translated table for window to promise parameters ,
-
eTRM - CSR Tables and Views
12.2.2
description: The translated table for window to promise parameters ,
-
APPS.CSF_TASKS_PUB SQL Statements
12.2.2
-
PACKAGE BODY: APPS.CSF_TASKS_PUB
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.CSF_TASKS_PUB
12.2.2