calendar
Primary key (PK)
The table below lists the colum names that are uniquely identified in the data entity.
Name | Column |
---|---|
calendar | calendar_id, date, eff_start_date, eff_end_date |
The table below lists the column names supported by the data entity:
Column | Data type | Required | Description |
---|---|---|---|
calendar_id |
string |
Yes1 |
Calendar ID. |
company_id2 |
string |
No |
Company ID. |
name |
string |
No |
Calendar name. |
calendar_type |
string |
No |
Type of Calender, based on customer data. |
description |
string |
No |
Calendar description. |
date |
timestamp |
Yes |
Date associated with each calendar record. |
year |
int |
Yes |
Calendar year. |
day |
int |
Yes |
Calendar day. |
week |
int |
Yes |
Calendar week. |
month |
int |
Yes |
Calendar month. |
is_working |
string |
No |
Boolean value that checks if the date is working. |
is_holiday |
string |
No |
Boolean value that checks if this date is a holiday. |
eff_start_date |
timestamp |
Yes1 |
Effective start date of the calendar. |
eff_end_date |
timestamp |
Yes1 |
Effective end date of the calendar. |
source |
string |
No |
Source of data. |
source_update_dttm |
timestamp |
No |
Date time stamp of the update made in the source system. |
1You must enter a value. When you ingest data from SAP or EDI, the default values for string and timestamp date type values are SCN_RESERVED_NO_VALUE_PROVIDED for string; and for timestamp, 1900-01-01 00:00:00 for start date, and 9999-12-31 23:59:59 for end date.
2Foreign key
Foreign key (FK)
The table below lists the column names with the associated data entity and category:
Column | Category | FK/Data entity | FK/Column |
---|---|---|---|
company_id | Organization | company | id |