Search Results jtf_cal_shifts_b
Overview
The JTF_CAL_SHIFTS_B table is a core data object within the Oracle E-Business Suite CRM Foundation (JTF) module. It serves as the base table for defining and storing master shift definitions, which are fundamental to scheduling and resource management across CRM applications. A shift represents a designated period of operational time, such as "Day Shift" or "Night Shift," and is a key building block for constructing complex calendars and schedules for resources like sales teams, service agents, and support staff. Its role is to centrally maintain the definition, name, description, and effective date range for each unique shift, ensuring consistency in time-based assignments and availability calculations throughout the system.
Key Information Stored
While the provided metadata specifies the table's purpose, the column-level detail is inferred from standard Oracle EBS patterns and the documented primary key. The table's structure is designed to hold the essential, non-translatable attributes of a shift. The primary column is the SHIFT_ID, which is the unique identifier (primary key) for each shift record. Other critical columns typically include SHIFT_NAME for the unique code or short name, a DESCRIPTION for a longer explanation, and columns for managing effectivity such as START_DATE_ACTIVE and END_DATE_ACTIVE. Additional columns may manage creation and update metadata (CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE) and control logical deletion (e.g., ENABLED_FLAG).
Common Use Cases and Queries
This table is primarily accessed for administrative setup, reporting, and as a reference in scheduling logic. Common scenarios include generating a list of all active shifts for a given date, which is essential for assignment rule configuration and resource capacity planning. A typical query would join JTF_CAL_SHIFTS_B with its corresponding translation table, JTF_CAL_SHIFTS_TL, to retrieve user-friendly names in a specific language. For example, to find all shifts effective on a specific date, a developer might use: SELECT s.SHIFT_ID, tl.SHIFT_NAME FROM JTF_CAL_SHIFTS_B s, JTF_CAL_SHIFTS_TL tl WHERE s.SHIFT_ID = tl.SHIFT_ID AND tl.LANGUAGE = USERENV('LANG') AND TRUNC(SYSDATE) BETWEEN NVL(s.START_DATE_ACTIVE, TRUNC(SYSDATE)) AND NVL(s.END_DATE_ACTIVE, TRUNC(SYSDATE)). Data from this table is also critical for reports analyzing shift coverage and resource utilization.
Related Objects
The JTF_CAL_SHIFTS_B table is central to the CRM calendar and scheduling schema, with several key objects depending on its primary key. As documented in the provided metadata, the following tables have foreign key relationships referencing JTF_CAL_SHIFTS_B.SHIFT_ID:
- JTF_CAL_SHIFT_ASSIGN: Links shift definitions to specific resources or groups, indicating which shift a resource is assigned to.
- JTF_CAL_SHIFTS_TL: The translation table that holds language-specific names and descriptions for each SHIFT_ID.
- JTF_CAL_SHIFT_CONSTRUCTS: References shifts as components used to build more complex calendar patterns or schedules.
These relationships enforce data integrity, ensuring that assignments and constructs are based on valid, predefined shift master records.
-
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_CAL_SHIFT_ASSIGN
12.2.2
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_CAL_SHIFT_ASSIGN, object_name:JTF_CAL_SHIFT_ASSIGN, status:VALID, product: JTF - CRM Foundation , description: Assign Shifts to a Calendar. , implementation_dba_data: JTF.JTF_CAL_SHIFT_ASSIGN ,
-
Table: JTF_CAL_SHIFTS_TL
12.2.2
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_CAL_SHIFTS_TL, object_name:JTF_CAL_SHIFTS_TL, status:VALID, product: JTF - CRM Foundation , description: Translation table for JTF_CAL_SHIFTS_B table. , implementation_dba_data: JTF.JTF_CAL_SHIFTS_TL ,
-
Table: JTF_CAL_SHIFTS_TL
12.1.1
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_CAL_SHIFTS_TL, object_name:JTF_CAL_SHIFTS_TL, status:VALID, product: JTF - CRM Foundation , description: Translation table for JTF_CAL_SHIFTS_B table. , implementation_dba_data: JTF.JTF_CAL_SHIFTS_TL ,
-
Table: JTF_CAL_SHIFT_ASSIGN
12.1.1
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_CAL_SHIFT_ASSIGN, object_name:JTF_CAL_SHIFT_ASSIGN, status:VALID, product: JTF - CRM Foundation , description: Assign Shifts to a Calendar. , implementation_dba_data: JTF.JTF_CAL_SHIFT_ASSIGN ,
-
View: JTF_CAL_SHIFTS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_CAL_SHIFTS_VL, object_name:JTF_CAL_SHIFTS_VL, status:VALID, product: JTF - CRM Foundation , description: View for table JTF_CAL_SHIFTS_B. , implementation_dba_data: APPS.JTF_CAL_SHIFTS_VL ,
-
View: JTF_CAL_SHIFTS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_CAL_SHIFTS_VL, object_name:JTF_CAL_SHIFTS_VL, status:VALID, product: JTF - CRM Foundation , description: View for table JTF_CAL_SHIFTS_B. , implementation_dba_data: APPS.JTF_CAL_SHIFTS_VL ,
-
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 ,
-
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 ,