FACILITY_USAGE_REVENUE

0 rows


Description

Table showing a breakdown of permit revenue per facility and date

Columns

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

The Hub record ID

FACILITY_USAGE_REVENUE_ID int 4 null

Facility usage revenue ID

PERMIT_ID int 4 null
PERMITS.PERMIT_ID Defined in XML R

Permit ID

FACILITY_ID int 4 null
FACILITIES.FACILITY_ID Defined in XML R

Facility ID

EVENT_TYPE_ID int 4 null
EVENT_TYPES.EVENT_TYPE_ID Defined in XML R

Event type ID

SCHEDULE_TYPE_ID int 4 null
SCHEDULE_TYPES.SCHEDULE_TYPE_ID Defined in XML R

Schedule type ID

SCHEDULE_DATE date 20 null

Date that the revenue is calculated for

USAGE_REVENUE money 21,4 null

The calculated amount of revenue for this permit and facility on this date

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_USAGE_REVENUE_ACTIVE_HUB_KEY_PK Primary key Asc ACTIVE_HUB_KEY
FACILITY_USAGE_REVENUE_EVENT_TYPE_ID_IX Performance Asc EVENT_TYPE_ID
FACILITY_USAGE_REVENUE_FACILITY_ID_IX Performance Asc FACILITY_ID
FACILITY_USAGE_REVENUE_FACILITY_USAGE_REVENUE_ID_ORG_ID_UQ Must be unique Asc/Asc FACILITY_USAGE_REVENUE_ID + ORG_ID
FACILITY_USAGE_REVENUE_PERMIT_ID_IX Performance Asc PERMIT_ID
FACILITY_USAGE_REVENUE_ROW_VERSION_IX Performance Asc ROW_VERSION
FACILITY_USAGE_REVENUE_SCHEDULE_TYPE_ID_IX Performance Asc SCHEDULE_TYPE_ID

Relationships