Search Results hr_calendars
Overview
HR_CALENDARS is a core Human Resources (PER) table in Oracle E-Business Suite 12.1.1 and 12.2.2 that stores dated instances of a repeating pattern. In Oracle HRMS, a "pattern" (defined in HR_PATTERNS) describes a recurring schedule of work and non-work periods, while HR_CALENDARS anchors that pattern to a concrete, usable calendar with a defined start point and start time. This table therefore bridges abstract scheduling definitions and the operational calendars consumed by leave accruals, payroll periods, work schedules, and exception handling.
Under the heuristic Data Vault classification mined from the foreign key structure, HR_CALENDARS is hub-leaning. It behaves as a business entity hub: its own identity is defined by CALENDAR_ID, its descriptive attributes are minimal, and it functions primarily as the anchor to which dependent satellite and link-style records (calendar usages and exception usages) attach. Modelers should treat it as a hub reference point rather than as a transactional or history-bearing table.
Key Information Stored
The documented physical schema (ETRM 12.2.2, owner HR) contains 11 columns. The most significant are:
- CALENDAR_ID — the surrogate primary key, defined by the HR_CALENDARS_PK unique index. This is the column referenced by all dependent foreign keys.
- CALENDAR_NAME — the business-key candidate, enforced by the HR_CALENDARS_UK1 unique index. This is the user-facing identifier for the calendar.
- PATTERN_ID — foreign key to HR_PATTERNS, identifying the repeating pattern this calendar instantiates.
- PATTERN_START_POSITION — the offset within the pattern at which this calendar's dating begins.
- CALENDAR_START_TIME — the time-of-day anchor for the calendar instance.
- OBJECT_VERSION_NUMBER — the optimistic locking column used by the HRMS business logic.
- CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN — standard WHO audit columns.
The surrogate key (CALENDAR_ID) and the business key (CALENDAR_NAME) are distinct: integrations and lookups should ideally resolve by name, while all physical joins use CALENDAR_ID.
Common Use Cases and Queries
Typical uses include resolving a calendar name to its ID for a leave or payroll process, listing all exceptions applied to a calendar, and reporting which calendars are in active use. A representative lookup:
SELECT CALENDAR_ID, PATTERN_ID, PATTERN_START_POSITION, CALENDAR_START_TIME FROM HR_CALENDARS WHERE CALENDAR_NAME = :p_name;SELECT c.CALENDAR_NAME, p.PATTERN_NAME FROM HR_CALENDARS c JOIN HR_PATTERNS p ON p.PATTERN_ID = c.PATTERN_ID;SELECT c.CALENDAR_NAME, u.* FROM HR_CALENDARS c JOIN HR_CALENDAR_USAGES u ON u.CALENDAR_ID = c.CALENDAR_ID;
Reporting on exception usage is also common, joining HR_EXCEPTION_USAGES to filter calendars by the exceptions applied to them.
Related Objects
The following objects are the most significant dependencies based on the documented key relationships:
- HR_PATTERNS — referenced by HR_CALENDARS.PATTERN_ID; the source repeating pattern.
- HR_CALENDAR_USAGES — references HR_CALENDARS.CALENDAR_ID; records where each calendar is used.
- HR_EXCEPTION_USAGES — references HR_CALENDARS.CALENDAR_ID; records exceptions applied to each calendar.
Joins between these tables are consistently made on CALENDAR_ID, with PATTERN_ID linking back to the pattern definition.
-
Table: HR_CALENDARS
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_CALENDARS, object_name:HR_CALENDARS, status:VALID, product: PER - Human Resources , description: Dated instances of a repeating pattern. , implementation_dba_data: HR.HR_CALENDARS ,
-
Table: HR_CALENDARS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_CALENDARS, object_name:HR_CALENDARS, status:VALID, product: PER - Human Resources , description: Dated instances of a repeating pattern. , implementation_dba_data: HR.HR_CALENDARS ,
-
VIEW: HR.HR_CALENDARS#
12.2.2
owner:HR, object_type:VIEW, object_name:HR_CALENDARS#, status:VALID,
-
APPS.HR_CAL_SHD SQL Statements
12.2.2
-
TABLE: HR.HR_CALENDARS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_CALENDARS, object_name:HR_CALENDARS, status:VALID,
-
VIEW: HR.HR_CALENDARS#
12.2.2
-
SYNONYM: PUBLIC.HR_CALENDARS
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:HR_CALENDARS, status:VALID,
-
TABLE: HR.HR_CALENDARS
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_CALENDARS, object_name:HR_CALENDARS, status:VALID,
-
APPS.HR_CAL_SHD SQL Statements
12.1.1
-
VIEW: APPS.HR_CALENDARS_V
12.1.1
-
VIEW: APPS.HR_CALENDARS_V
12.2.2
-
SYNONYM: APPS.HR_CALENDARS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_CALENDARS, status:VALID,
-
SYNONYM: APPS.HR_CALENDARS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HR_CALENDARS, status:VALID,
-
APPS.HR_EXU_BUS SQL Statements
12.2.2
-
APPS.HR_CALENDAR_PKG SQL Statements
12.2.2
-
Table: HR_EXCEPTION_USAGES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_EXCEPTION_USAGES, object_name:HR_EXCEPTION_USAGES, status:VALID, product: PER - Human Resources , description: Identifies usage of defined exceptions to a repeating pattern. , implementation_dba_data: HR.HR_EXCEPTION_USAGES ,
-
APPS.HR_CALENDAR_PKG SQL Statements
12.1.1
-
View: HR_CALENDARS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_CALENDARS_V, object_name:HR_CALENDARS_V, status:VALID, product: PER - Human Resources , description: Used to support user interface , implementation_dba_data: APPS.HR_CALENDARS_V ,
-
Table: HR_CALENDAR_USAGES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_CALENDAR_USAGES, object_name:HR_CALENDAR_USAGES, status:VALID, product: PER - Human Resources , description: Assignments of calendars to individual entities. , implementation_dba_data: HR.HR_CALENDAR_USAGES ,
-
APPS.HR_EXU_BUS SQL Statements
12.1.1
-
Table: HR_EXCEPTION_USAGES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_EXCEPTION_USAGES, object_name:HR_EXCEPTION_USAGES, status:VALID, product: PER - Human Resources , description: Identifies usage of defined exceptions to a repeating pattern. , implementation_dba_data: HR.HR_EXCEPTION_USAGES ,
-
APPS.HR_CAU_BUS SQL Statements
12.1.1
-
PACKAGE BODY: APPS.HR_CAL_SHD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_CAL_SHD, status:VALID,
-
PACKAGE BODY: APPS.HR_CALENDAR_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_CALENDAR_PKG, status:VALID,
-
TABLE: HR.HR_EXCEPTION_USAGES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_EXCEPTION_USAGES, object_name:HR_EXCEPTION_USAGES, status:VALID,
-
PACKAGE BODY: APPS.HR_CAL_DEL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_CAL_DEL, status:VALID,
-
PACKAGE BODY: APPS.HR_CAL_BUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_CAL_BUS, status:VALID,
-
Table: HR_CALENDAR_USAGES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_CALENDAR_USAGES, object_name:HR_CALENDAR_USAGES, status:VALID, product: PER - Human Resources , description: Assignments of calendars to individual entities. , implementation_dba_data: HR.HR_CALENDAR_USAGES ,
-
APPS.HR_CAL_UPD SQL Statements
12.1.1
-
Table: HR_PATTERNS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_PATTERNS, object_name:HR_PATTERNS, status:VALID, product: PER - Human Resources , description: A repeating time pattern, eg a work pattern, SSP qualifying pattern or a resource schedule. , implementation_dba_data: HR.HR_PATTERNS ,
-
APPS.HR_CAU_BUS SQL Statements
12.2.2
-
TABLE: HR.HR_EXCEPTION_USAGES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_EXCEPTION_USAGES, object_name:HR_EXCEPTION_USAGES, status:VALID,
-
PACKAGE BODY: APPS.HR_CAL_UPD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_CAL_UPD, status:VALID,
-
PACKAGE BODY: APPS.HR_CAL_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_CAL_BUS, status:VALID,
-
PACKAGE BODY: APPS.HR_CAU_BUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_CAU_BUS, status:VALID,
-
PACKAGE BODY: APPS.HR_EXU_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_EXU_BUS, status:VALID,
-
PACKAGE BODY: APPS.HR_CAL_INS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_CAL_INS, status:VALID,
-
Table: HR_PATTERNS
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_PATTERNS, object_name:HR_PATTERNS, status:VALID, product: PER - Human Resources , description: A repeating time pattern, eg a work pattern, SSP qualifying pattern or a resource schedule. , implementation_dba_data: HR.HR_PATTERNS ,
-
View: HR_CALENDARS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_CALENDARS_V, object_name:HR_CALENDARS_V, status:VALID, product: PER - Human Resources , description: Used to support user interface , implementation_dba_data: APPS.HR_CALENDARS_V ,
-
PACKAGE BODY: APPS.HR_CALENDAR_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_CALENDAR_PKG, status:VALID,
-
PACKAGE BODY: APPS.HR_CAL_SHD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_CAL_SHD, status:VALID,
-
TRIGGER: APPS.HR_CALENDARS_WHO
12.1.1
owner:APPS, object_type:TRIGGER, object_name:HR_CALENDARS_WHO, status:VALID,
-
TRIGGER: APPS.HR_CALENDARS_WHO
12.2.2
owner:APPS, object_type:TRIGGER, object_name:HR_CALENDARS_WHO, status:VALID,
-
PACKAGE BODY: APPS.HR_CAL_UPD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_CAL_UPD, status:VALID,
-
APPS.HR_CAL_INS SQL Statements
12.1.1
-
PACKAGE BODY: APPS.HR_PAT_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_PAT_BUS, status:VALID,
-
PACKAGE BODY: APPS.HR_CAL_INS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_CAL_INS, status:VALID,
-
TABLE: HR.HR_CALENDAR_USAGES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_CALENDAR_USAGES, object_name:HR_CALENDAR_USAGES, status:VALID,
-
APPS.HR_CAL_UPD SQL Statements
12.2.2
-
PACKAGE BODY: APPS.HR_CAL_DEL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_CAL_DEL, status:VALID,