Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 INCLUDEALLPROGRAMS bit   Default = 1 Indicates whether the rate scale includes all programs.
 DATEADDED datetime   Default = getdate() Indicates the date this record was added.
 DATECHANGED datetime   Default = getdate() Indicates the date this record was last changed.
 TS timestamp   Timestamp.
 TSLONG bigint (Computed) CONVERT(bigint, TS) Numeric representation of the timestamp.
 INCLUDEALLFEES bit   Default = 1 Indicates whether the rate scale includes all fees.
 INCLUDEALLRESOURCES bit   Default = 1 Indicates whether the rate scale includes all supplies/equipment resources.
 INCLUDEALLSTAFFRESOURCES bit   Default = 1 Indicates whether the rate scale includes all staffing resources.
 USEPERTICKETAFTERMAX bit   Default = 0 Indicates whether the rate scale should revert to per-ticket pricing after the maximum is reached.

Foreign Key Field Type Null Notes Description
 ID uniqueidentifier   RESERVATION.ID Primary Key.
 RATESCALEID uniqueidentifier RATESCALE.ID The flat rate scale used for flat rate pricing.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_RESERVATIONRATESCALE_DATEADDED DATEADDED    
 IX_RESERVATIONRATESCALE_DATECHANGED DATECHANGED      
 PK_RESERVATIONRATESCALE ID  

Trigger Name Description
 TR_RESERVATIONRATESCALE_AUDIT_UPDATE
 TR_RESERVATIONRATESCALE_AUDIT_DELETE

Referenced by Field
 RESERVATIONRATESCALEAPPLICATION RESERVATIONRATESCALEID
 RESERVATIONRATESCALEFEE RESERVATIONRATESCALEID
 RESERVATIONRATESCALEPRICE RESERVATIONRATESCALEID
 RESERVATIONRATESCALEPROGRAM RESERVATIONRATESCALEID
 RESERVATIONRATESCALERESOURCE RESERVATIONRATESCALEID
 RESERVATIONRATESCALESTAFFRESOURCE RESERVATIONRATESCALEID

Entity-Relationship diagram of this table