GROUPSALESPAYMENTDEFAULT (4.0SP14)

Default values for deposit and final payment dates on reservations.

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.

Fields
Field Field Type Null Notes Description

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.

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.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_GROUPSALESPAYMENTDEFAULT_DATEADDED

DATEADDED

False

False

True

IX_GROUPSALESPAYMENTDEFAULT_DATECHANGED

DATECHANGED

False

False

False

PK_GROUPSALESPAYMENTDEFAULT

ID

True

True

False

Triggers
Trigger Name Description

TR_GROUPSALESPAYMENTDEFAULT_AUDIT_UPDATE

TR_GROUPSALESPAYMENTDEFAULT_AUDIT_DELETE