Search Results jtf_cal_exception_assign_u1
Overview
The JTF_CAL_EXCEPTION_ASSIGN table is a core data object within the Oracle E-Business Suite CRM Foundation (JTF) module. It functions as an intersection or assignment table, establishing the many-to-many relationship between calendars and their defined exceptions. Its primary role is to manage the linkage, ensuring that specific non-working day exceptions, such as holidays or company closures, are correctly applied to one or more business calendars. This table is essential for the accurate calculation of lead times, service level agreements (SLAs), and scheduling within the CRM and related application flows, as it directly influences the definition of working days.
Key Information Stored
The table's structure is designed to manage the assignment relationship with minimal attributes, relying on foreign key references. The key columns are the primary identifiers for the assignment record and the two entities it links. The CAL_EXCEPTION_ASSIGN_ID column serves as the unique system-generated primary key for each assignment record. The CALENDAR_ID column is a foreign key referencing JTF_CALENDARS_B, identifying the specific calendar to which an exception is applied. The EXCEPTION_ID column is a foreign key referencing JTF_CAL_EXCEPTIONS_B, identifying the specific non-working day exception being assigned. The metadata indicates the presence of unique constraints (JTF_CAL_EXCEPTION_ASSIGN_U1, JTF_CAL_EXCPA_U1) on the combination of CALENDAR_ID and EXCEPTION_ID, enforcing the rule that a given exception cannot be assigned to the same calendar more than once.
Common Use Cases and Queries
A primary use case is validating or reporting on the exceptions configured for a particular calendar, which is critical for troubleshooting scheduling issues. For instance, an administrator may need to list all exceptions assigned to the 'US Support Calendar' to verify holiday coverage. Another common scenario involves identifying which calendars are impacted by a specific exception, such as a newly declared company holiday. Sample SQL to retrieve all exceptions for a calendar by name would involve joining the relevant tables:
- SELECT c.CALENDAR_NAME, e.EXCEPTION_NAME, e.EXCEPTION_DATE FROM JTF_CAL_EXCEPTION_ASSIGN a, JTF_CALENDARS_B c, JTF_CAL_EXCEPTIONS_B e WHERE a.CALENDAR_ID = c.CALENDAR_ID AND a.EXCEPTION_ID = e.EXCEPTION_ID AND c.CALENDAR_NAME = '&CALENDAR_NAME';
Data maintenance tasks, such as assigning a new exception to multiple regional calendars or cleaning up orphaned assignments, also center on operations against this table.
Related Objects
The JTF_CAL_EXCEPTION_ASSIGN table has direct dependencies on two master tables, as defined by its foreign keys. It is fundamentally linked to JTF_CALENDARS_B, which stores the base definition and rules of the calendar itself. It is equally linked to JTF_CAL_EXCEPTIONS_B, which stores the master definition of the exception, including its date and descriptive name. In practice, application logic for creating or modifying calendar exceptions will utilize corresponding PL/SQL APIs in the JTF or related modules, which perform the necessary operations on this assignment table while maintaining data integrity. Reports on resource availability or business hour calculations will ultimately join through this table to incorporate exception data.
-
Table: JTF_CAL_EXCEPTION_ASSIGN
12.1.1
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_CAL_EXCEPTION_ASSIGN, object_name:JTF_CAL_EXCEPTION_ASSIGN, status:VALID, product: JTF - CRM Foundation , description: Assign Exceptions to a Calendar. , implementation_dba_data: JTF.JTF_CAL_EXCEPTION_ASSIGN ,
-
Table: JTF_CAL_EXCEPTION_ASSIGN
12.2.2
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_CAL_EXCEPTION_ASSIGN, object_name:JTF_CAL_EXCEPTION_ASSIGN, status:VALID, product: JTF - CRM Foundation , description: Assign Exceptions to a Calendar. , implementation_dba_data: JTF.JTF_CAL_EXCEPTION_ASSIGN ,