AUCTIONITEMRESERVATION

Pre-synch reservation for an auction item.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
PURCHASEAMOUNT money Default = 0
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) yes CONVERT(bigint, TS) Numeric representation of the timestamp.
PURCHASEDATE datetime yes

Foreign Keys

Foreign Key Field Type Null Notes Description
PURCHASERID uniqueidentifier CONSTITUENT.LOCALID FK to CONSTITUENT
AUCTIONITEMID uniqueidentifier AUCTIONITEM.ID FK to AUCTIONITEM
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_AUCTIONITEMRESERVATION_DATEADDED DATEADDED yes
IX_AUCTIONITEMRESERVATION_DATECHANGED DATECHANGED
IX_AUCTIONITEMRESERVATION_PURCHASERID PURCHASERID
PK_AUCTIONITEMRESERVATION ID yes yes

Triggers

Trigger Name Description
TR_AUCTIONITEMRESERVATION_AUDIT_UPDATE
TR_AUCTIONITEMRESERVATION_AUDIT_DELETE