KDRV_CALENDARS

This table stores the header details for Resource, Regional and Holiday Calendars. It will have one record for each calendar in the system.

Foreign Keys

Primary Key Table

Primary Key Column

Foreign Key Column

KNTA_USERS

USER_ID

CREATED_BY

KNTA_USERS

USER_ID

LAST_UPDATED_BY

Column Descriptions

Column Name

Null?

Data Type

Description

CALENDAR_ID

NOT NULL

NUMBER

System-generated identifier

CREATION_DATE

NOT NULL

DATE

Date record was created

CREATED_BY

NOT NULL

NUMBER

Identifier for the user who created the record

LAST_UPDATE_DATE

NOT NULL

DATE

Date record was last updated

LAST_UPDATED_BY

NOT NULL

NUMBER

Identifier for the user who last updated the record

ENTITY_LAST_UPDATE_DATE

NOT NULL

DATE

Date a record in the entity was last updated

CALENDAR_NAME

NULLABLE

VARCHAR2(100)

Name of the calendar

PARENT_CALENDAR_ID

NULLABLE

NUMBER

ID of this calendar's parent, from which exceptions will be inherited.

CALENDAR_TYPE_CODE

NOT NULL

VARCHAR2(30)

Type of this calendar. Can be RESOURCE_CALENDAR, REGIONAL_CALENDAR, or HOLIDAY_CALENDAR

DEFAULT_CALENDAR_FLAG

NOT NULL

VARCHAR2(1)

Flag to indicate if this calendar is the system default

ENABLED_FLAG

NOT NULL

VARCHAR2(1)

Flag to indicate if this calendar is enabled

VERSION

NOT NULL

NUMBER

System-generated version for the entity. This column must not be updated manually

Indexes

Index Name

Index Type

Sequence

Column Name

KDRV_CALENDARS_N1

NONUNIQUE

1

PARENT_CALENDAR_ID

KDRV_CALENDAR_U1

UNIQUE

1

CALENDAR_ID

KDRV_CALENDAR_U2

UNIQUE

1

CALENDAR_NAME

Sequences

Sequence Name

Sequence Type

KDRV_CALENDARS_S

CALENDAR_ID