BATCHAMPROIMPORT
Stores rows for AuctionMaestro Pro import batches.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
SEQUENCE |
int |
|
Default = 0 |
|
RECORDTYPECODE |
tinyint |
|
Default = 255 |
1=Auction Event, 2=Constituent, 3=Event Registrant, 4=Auction Item, 5=Auction Purchase, 6=Auction Package, 254=Error, 255=Unknown |
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. |
RECORDTYPE |
nvarchar(16) (Computed) |
yes |
CASE [RECORDTYPECODE] WHEN 1 THEN N'Auction Event' WHEN 2 THEN N'Constituent' WHEN 3 THEN N'Event Registrant' WHEN 4 THEN N'Auction Item' WHEN 5 THEN N'Auction Purchase' WHEN 6 THEN N'Auction Package' WHEN 254 THEN N'Error' WHEN 255 THEN N'Unknown' END |
Provides a translation for the 'RECORDTYPECODE' field. |
WASLOOKEDUP |
bit |
|
Default = 0 |
|
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
BATCHID |
uniqueidentifier |
|
BATCH.ID
|
FK to BATCH |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
ORIGINATINGBATCHROWID |
uniqueidentifier |
yes |
BATCHAMPROIMPORT.ID
|
FK to BATCHAMPROIMPORT |
EVENTID |
uniqueidentifier |
yes |
EVENT.ID
|
|
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_BATCHAMPROIMPORT_DATEADDED |
DATEADDED |
|
|
yes |
IX_BATCHAMPROIMPORT_DATECHANGED |
DATECHANGED |
|
|
|
PK_BATCHAMPROIMPORT |
ID |
yes |
yes |
|
Triggers
Referenced by