BATCHAMPROIMPORTREGISTRANT

Stores rows relating to items which are imported from AuctionMaestro Pro.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
REGISTRANT_CONSTITUENTID uniqueidentifier yes
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.
REGISTRANT_AMOUNT money Default = 0

Foreign Keys

Foreign Key Field Type Null Notes Description
ID uniqueidentifier BATCHAMPROIMPORT.ID Primary Key.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
REGISTRANT_EVENTPRICEID uniqueidentifier yes EVENTPRICE.ID FK to EVENTPRICE

Indexes

Index Name Fields Unique Primary Clustered
IX_BATCHAMPROIMPORTREGISTRANT_DATEADDED DATEADDED yes
IX_BATCHAMPROIMPORTREGISTRANT_DATECHANGED DATECHANGED
PK_BATCHAMPROIMPORTREGISTRANT ID yes yes

Triggers

Trigger Name Description
TR_BATCHAMPROIMPORTREGISTRANT_AUDIT_UPDATE
TR_BATCHAMPROIMPORTREGISTRANT_AUDIT_DELETE