Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 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.
 CUSTOMIDENTIFIER nvarchar(100)   Default = '' User-definable custom identifier.
 SEQUENCEID int   Identity column used to increment the default lookupid.
 LOOKUPID nvarchar(100) (Computed) (CASE LEN(CUSTOMIDENTIFIER) WHEN 0 THEN 'AUC-' + CAST(SEQUENCEID AS nvarchar(20)) ELSE CUSTOMIDENTIFIER END) Unique identifer that supports user defined values as well as system generated values.

Foreign Key Field Type Null Notes Description
 ID uniqueidentifier   EVENT.ID Primary Key.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_EVENTAUCTION_DATEADDED DATEADDED    
 IX_EVENTAUCTION_DATECHANGED DATECHANGED      
 PK_EVENTAUCTION ID  
 UC_EVENTAUCTION_LOOKUPID LOOKUPID    

Trigger Name Description
 TR_EVENTAUCTION_AUDIT_UPDATE
 TR_EVENTAUCTION_AUDIT_DELETE

Referenced by Field
 AMPROIMPORTCONFIG ID
 AUCTIONITEM EVENTAUCTIONID
 BATCHAMPRODATA EVENTAUCTIONID
 BATCHAUCTIONITEM EVENTAUCTIONID

Entity-Relationship diagram of this table