GROUPSALESDEFAULT (4.0SP17)

This table contains group sales setup defaults.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CONTRACTLETTERTEMPLATEID

uniqueidentifier

true

The default letter template to be used for group sales contracts.

CONTRACTRESERVATIONATTACHMENTTYPECODEID

uniqueidentifier

true

The default attachment type to be used for group sales contract attachments.

Fields
Field Field Type Null Notes Description

CONTRACTREQUIRED

bit

false

0

Indicates whether a contract is required by default on a reservation

CONTRACTTIMEVALUE

smallint

false

((0))

The amount of time before the contract is required.

CONTRACTTIMECODE

tinyint

false

0

The reference for time the value in CONTRACTTIMEVALUE represents.

CONTRACTTIME

nvarchar(25) (Computed)

true

Provides a translation for the 'CONTRACTTIMECODE' field.

FINALCOUNTREQUIRED

bit

false

0

Indicates whether a final count of visitors is required by default on a reservation

FINALCOUNTTIMEVALUE

smallint

false

((0))

The amount of time before the final count is required.

FINALCOUNTTIMECODE

tinyint

false

0

The reference for time the value in FINALCOUNTTIMEVALUE represents.

FINALCOUNTTIME

nvarchar(25) (Computed)

true

Provides a translation for the 'FINALCOUNTTIMECODE' field.

DEPOSITREQUIRED

bit

false

0

Indicates whether a deposit is required by default on a reservation.

DEPOSITTIMEVALUE

smallint

false

((0))

The amount of time before a deposit is due.

DEPOSITTIMECODE

tinyint

false

0

The reference for time the value in DEPOSITTIMEVALUE represents

DEPOSITTIME

nvarchar(25) (Computed)

true

Provides a translation for the 'DEPOSITTIMECODE' field.

DEPOSITTYPECODE

tinyint

false

0

The type of amount for the default deposit: 0 - Amount, 1 - Percent.

DEPOSITTYPE

nvarchar(7) (Computed)

true

Provides a translation for the 'DEPOSITTYPECODE' field.

DEPOSITAMOUNT

money

false

0

The amount of the deposit

DEPOSITPERCENT

decimal(5, 2)

false

0

The percent value of the deposit.

FINALTIMEVALUE

smallint

false

((0))

The amount of time before the final payment is due.

FINALTIMECODE

tinyint

false

0

The reference for time the value in FINALTIMEVALUE represents

FINALTIME

nvarchar(25) (Computed)

true

Provides a translation for the 'FINALTIMECODE' field.

MAXIMUMCAPACITY

int

false

0

Maximum capacity allowed for group sales.

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.

USEFLATRATEPRICING

bit

false

0

Indicates whether a reservation defaults to flat rate pricing.

ITEMARRIVALTIME

UDT_HOURMINUTE

false

''

The default daily admission arrival (start) time for use when creating a quick itinerary.

ITEMDEPARTURETIME

UDT_HOURMINUTE

false

''

The default daily admission departure (end) time for use when creating a quick itinerary.

SECURITYDEPOSITREQUIRED

bit

false

0

Indicates whether a security deposit is required by default on a reservation.

SECURITYDEPOSITTIMEVALUE

smallint

false

((0))

The amount of time before a security deposit is due.

SECURITYDEPOSITTIMECODE

tinyint

false

0

The reference for time the value in SECURITYDEPOSITTIMEVALUE represents

SECURITYDEPOSITTIME

nvarchar(25) (Computed)

true

Provides a translation for the 'SECURITYDEPOSITTIMECODE' field.

SECURITYDEPOSITTYPECODE

tinyint

false

0

The type of amount for the default security deposit: 0 - Amount, 1 - Percent.

SECURITYDEPOSITTYPE

nvarchar(7) (Computed)

true

Provides a translation for the 'SECURITYDEPOSITTYPECODE' field.

SECURITYDEPOSITAMOUNT

money

false

0

The amount of the security deposit

SECURITYDEPOSITPERCENT

decimal(5, 2)

false

0

The percent value of the security deposit.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_GROUPSALESDEFAULT_DATEADDED

DATEADDED

False

False

True

IX_GROUPSALESDEFAULT_DATECHANGED

DATECHANGED

False

False

False

PK_GROUPSALESDEFAULT

ID

True

True

False

Triggers
Trigger Name Description

TR_GROUPSALESDEFAULT_AUDIT_UPDATE

TR_GROUPSALESDEFAULT_AUDIT_DELETE