RESERVATIONRATESCALEPRICE (4.0SP17)

Flat rate price for a group of a specific size on a reservation.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

RESERVATIONRATESCALEID

uniqueidentifier

false

The reservation rate scale this rate scale price applies to.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

AMOUNT

money

false

0

Flat rate price the group pays.

GROUPMINIMUM

smallint

false

((0))

Minimum number of people to qualify for this price.

GROUPMAXIMUM

smallint

false

((0))

Maximum number of people to qualify for this price; -1 if no limit.

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.

INUSE

bit

false

0

Indicates that this price is currently in use by the reservation

Indexes
Index Name Field(s) Unique Primary Clustered

IX_RESERVATIONRATESCALEPRICE_DATEADDED

DATEADDED

False

False

True

IX_RESERVATIONRATESCALEPRICE_DATECHANGED

DATECHANGED

False

False

False

PK_RESERVATIONRATESCALEPRICE

ID

True

True

False

UIX_RESERVATIONRATESCALEPRICE_RESERVATIONRATESCALEID_GROUPMAXIMUM

RESERVATIONRATESCALEID

GROUPMAXIMUM

True

False

False

UIX_RESERVATIONRATESCALEPRICE_RESERVATIONRATESCALEID_GROUPMINIMUM

RESERVATIONRATESCALEID

GROUPMINIMUM

True

False

False

Triggers
Trigger Name Description

TR_RESERVATIONRATESCALEPRICE_AUDIT_UPDATE

TR_RESERVATIONRATESCALEPRICE_AUDIT_DELETE