RESERVATIONRATESCALE (4.0SP20)

The flat rate scale used for flat rate pricing on a reservation.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

RATESCALEID

uniqueidentifier

true

The flat rate scale used for flat rate pricing.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

INCLUDEALLPROGRAMS

bit

false

1

Indicates whether the rate scale includes all programs.

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

INCLUDEALLFEES

bit

false

1

Indicates whether the rate scale includes all fees.

INCLUDEALLRESOURCES

bit

false

1

Indicates whether the rate scale includes all supplies/equipment resources.

INCLUDEALLSTAFFRESOURCES

bit

false

1

Indicates whether the rate scale includes all staffing resources.

USEPERTICKETAFTERMAX

bit

false

0

Indicates whether the rate scale should revert to per-ticket pricing after the maximum is reached.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_RESERVATIONRATESCALE_DATEADDED

DATEADDED

False

False

True

IX_RESERVATIONRATESCALE_DATECHANGED

DATECHANGED

False

False

False

PK_RESERVATIONRATESCALE

ID

True

True

False

Triggers
Trigger Name Description

TR_RESERVATIONRATESCALE_AUDIT_UPDATE

TR_RESERVATIONRATESCALE_AUDIT_DELETE

Referenced by
Referenced by Field

RESERVATIONRATESCALEAPPLICATION

RESERVATIONRATESCALEID

RESERVATIONRATESCALEFEE

RESERVATIONRATESCALEID

RESERVATIONRATESCALEPRICE

RESERVATIONRATESCALEID

RESERVATIONRATESCALEPROGRAM

RESERVATIONRATESCALEID

RESERVATIONRATESCALERESOURCE

RESERVATIONRATESCALEID

RESERVATIONRATESCALESTAFFRESOURCE

RESERVATIONRATESCALEID