Search Results jtf_cal_shift_constructs
Overview
The JTF_CAL_SHIFT_CONSTRUCTS table is a core data object within the Oracle E-Business Suite (EBS) CRM Foundation (JTF) module. It functions as the repository for detailed shift patterns, which are the fundamental building blocks for defining work schedules and resource availability. The table's primary role is to store the granular, day-level time components—start and end times, availability type, and effectivity dates—that collectively form a complete shift definition. This data is essential for applications requiring precise scheduling, such as task management, service resource planning, and workforce management, enabling the system to model complex working hours and resource calendars accurately.
Key Information Stored
The table stores the atomic elements that constitute a shift pattern for a specific day. Its primary key is SHIFT_CONSTRUCT_ID, which uniquely identifies each pattern record. A critical foreign key column is SHIFT_ID, which links the pattern to its parent shift definition in the JTF_CAL_SHIFTS_B table. While the full column list is not detailed in the provided metadata, the description confirms the table holds the start time and end time for a particular day. It also stores the availability type (e.g., working, non-working, break) and effectivity information, which governs the active date range for the specific shift pattern, allowing for historical and future schedule modeling.
Common Use Cases and Queries
This table is central to queries that need to analyze or report on the specific working hours within a defined shift. A common use case is generating a detailed breakdown of a resource's weekly schedule by joining this table to the master shift definition. For instance, an integration or report might need to extract all active shift patterns for a set of resources to feed into a downstream planning system. A typical query would join JTF_CAL_SHIFT_CONSTRUCTS to JTF_CAL_SHIFTS_B via SHIFT_ID and filter by effectivity dates to get current schedules. Another critical use is supporting the task assignment engine, which references SHIFT_CONSTRUCT_ID to understand resource availability when scheduling tasks.
- Sample Query: Retrieving active shift patterns for a given shift.
SELECT shift_construct_id, start_time, end_time, availability_type FROM jtf_cal_shift_constructs WHERE shift_id = :p_shift_id AND SYSDATE BETWEEN start_date_active AND NVL(end_date_active, SYSDATE);
Related Objects
The JTF_CAL_SHIFT_CONSTRUCTS table maintains defined relationships with several other key EBS objects, primarily through foreign key constraints. It is a child table of JTF_CAL_SHIFTS_B, linked by the SHIFT_ID column, which provides the high-level shift definition. Most importantly, it is referenced as a parent table by JTF_TASK_ASSIGNMENTS via the SHIFT_CONSTRUCT_ID column. This relationship is crucial, as it directly ties a scheduled task assignment to the specific daily shift pattern that governs the assigned resource's availability. These relationships underscore the table's position in the data model: it sits between abstract shift definitions and concrete task assignments, providing the necessary temporal detail.
- Parent Table: JTF_CAL_SHIFTS_B (via SHIFT_ID)
- Child Table: JTF_TASK_ASSIGNMENTS (via SHIFT_CONSTRUCT_ID)
-
Table: JTF_CAL_SHIFT_CONSTRUCTS
12.1.1
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_CAL_SHIFT_CONSTRUCTS, object_name:JTF_CAL_SHIFT_CONSTRUCTS, status:VALID, product: JTF - CRM Foundation , description: Shift patterns comprising of start and end times for a particular day, availability type, and effectivity. , implementation_dba_data: JTF.JTF_CAL_SHIFT_CONSTRUCTS ,
-
Table: JTF_CAL_SHIFT_CONSTRUCTS
12.2.2
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_CAL_SHIFT_CONSTRUCTS, object_name:JTF_CAL_SHIFT_CONSTRUCTS, status:VALID, product: JTF - CRM Foundation , description: Shift patterns comprising of start and end times for a particular day, availability type, and effectivity. , implementation_dba_data: JTF.JTF_CAL_SHIFT_CONSTRUCTS ,
-
View: JTF_CAL_SHIFT_CONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_CAL_SHIFT_CONS_V, object_name:JTF_CAL_SHIFT_CONS_V, status:VALID, product: JTF - CRM Foundation , description: View for table JTF_CAL_SHIFT_CONSTRUCTS. , implementation_dba_data: APPS.JTF_CAL_SHIFT_CONS_V ,
-
View: JTF_CAL_SHIFT_CONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_CAL_SHIFT_CONS_V, object_name:JTF_CAL_SHIFT_CONS_V, status:VALID, product: JTF - CRM Foundation , description: View for table JTF_CAL_SHIFT_CONSTRUCTS. , implementation_dba_data: APPS.JTF_CAL_SHIFT_CONS_V ,
-
Table: JTF_TASK_ASSIGNMENTS
12.2.2
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_TASK_ASSIGNMENTS, object_name:JTF_TASK_ASSIGNMENTS, status:VALID, product: JTF - CRM Foundation , description: JTF_TASK_ASSIGNMENTS stores information about the resource assignments associated with the task. , implementation_dba_data: JTF.JTF_TASK_ASSIGNMENTS ,
-
Table: JTF_CAL_SHIFTS_B
12.1.1
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_CAL_SHIFTS_B, object_name:JTF_CAL_SHIFTS_B, status:VALID, product: JTF - CRM Foundation , description: Shift Name, Description, and Effectivity. , implementation_dba_data: JTF.JTF_CAL_SHIFTS_B ,
-
Table: JTF_CAL_SHIFTS_B
12.2.2
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_CAL_SHIFTS_B, object_name:JTF_CAL_SHIFTS_B, status:VALID, product: JTF - CRM Foundation , description: Shift Name, Description, and Effectivity. , implementation_dba_data: JTF.JTF_CAL_SHIFTS_B ,
-
Table: JTF_TASK_ASSIGNMENTS
12.1.1
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_TASK_ASSIGNMENTS, object_name:JTF_TASK_ASSIGNMENTS, status:VALID, product: JTF - CRM Foundation , description: JTF_TASK_ASSIGNMENTS stores information about the resource assignments associated with the task. , implementation_dba_data: JTF.JTF_TASK_ASSIGNMENTS ,