FACILITY_AVAILABILITY

0 rows


Description

Contains facility availability information by date

Columns

Column Type Size Nulls Auto Default Children Parents Comments
ACTIVE_HUB_KEY int identity 4 null

The Hub record ID

FACILITY_ID int 4 null
FACILITIES.FACILITY_ID Defined in XML R

The ID of the facility

FACILITY_DATE date 20 null

The date that the availability is calculated for

IS_CLOSED varchar 5 null

Whether the facility is configured as closed on this day of the week (Yes/No)

IS_OPEN_24_HOURS varchar 5 null

Whether the facility is configured as open 24 hours per day (Yes/No)

MIN_OPEN_TIME time 16 null

The minimum open time for the facility on this date

MAX_CLOSE_TIME time 16 null

The maximum close time for the facility on this date

OPEN_MINUTES int 4 null

The number of minutes the facility is open on this date

SKIP_MINUTES int 4 null

The number of minutes the facility is closed on this date due to a skip date

OPEN_TIMES_FROM varchar 30 null

The level of configuration that the facility availability is obtained from for this date (Center / Center Default Times / Facility / Facility Open Times / Facility Default Times / Facility Hours / Facility Hours Open Times)

FACILITY_HOUR_ID int 4 null
FACILITY_HOURS.FACILITY_HOUR_ID Defined in XML R

The ID of the facility hour record that the facility availability is obtained from for this date

SKIP_DATE_ID int 4 null
SKIP_DATES.SKIP_DATE_ID Defined in XML R

The ID of the skip date record that affects the availability for this date

RESERVATION_DATE_RANGE_ID int 4 null
RESERVATION_DATE_RANGES.RESERVATION_DATE_RANGE_ID Defined in XML R

The ID of the reservation date range record that this facility date falls within

LAST_SYNC_TIME datetime 16,3 (getdate())

Date and time Hub record was last modified

ACTIVE_HUB_PROCESS_ID bigint 8 null

The Hub sync process ID

ORG_ID int 4 null

Your organization’s unique identifier in the Active Net system

ROW_VERSION binary 8 null

System timestamp (for internal use)

Indexes

Constraint Name Type Sort Column(s)
FACILITY_AVAILABILITY_ACTIVE_HUB_KEY_PK Primary key Asc ACTIVE_HUB_KEY
FACILITY_AVAILABILITY_FACILITY_DATE_FACILITY_ID_IX Performance Asc/Asc FACILITY_DATE + FACILITY_ID
FACILITY_AVAILABILITY_FACILITY_DATE_ORG_ID_IX Performance Asc/Asc FACILITY_DATE + ORG_ID
FACILITY_AVAILABILITY_FACILITY_HOUR_ID_IX Performance Asc FACILITY_HOUR_ID
FACILITY_AVAILABILITY_FACILITY_ID_FACILITY_DATE_ORG_ID_IX Performance Asc/Asc/Asc FACILITY_ID + FACILITY_DATE + ORG_ID
FACILITY_AVAILABILITY_FACILITY_ID_IX Performance Asc FACILITY_ID
FACILITY_AVAILABILITY_FACILITY_ID_ORG_ID_IX Performance Asc/Asc FACILITY_ID + ORG_ID
FACILITY_AVAILABILITY_nc_cs_ix Performance Asc/Asc/Asc/Asc/Asc FACILITY_DATE + FACILITY_HOUR_ID + FACILITY_ID + RESERVATION_DATE_RANGE_ID + SKIP_DATE_ID
FACILITY_AVAILABILITY_RESERVATION_DATE_RANGE_ID_IX Performance Asc RESERVATION_DATE_RANGE_ID
FACILITY_AVAILABILITY_ROW_VERSION_IX Performance Asc ROW_VERSION
FACILITY_AVAILABILITY_SKIP_DATE_ID_IX Performance Asc SKIP_DATE_ID

Relationships