BATCHAMPROIMPORT (4.0SP17)

Stores rows for AuctionMaestro Pro import batches.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

BATCHID

uniqueidentifier

false

FK to BATCH

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

ORIGINATINGBATCHROWID

uniqueidentifier

true

FK to BATCHAMPROIMPORT

EVENTID

uniqueidentifier

true

Fields
Field Field Type Null Notes Description

SEQUENCE

int

false

0

RECORDTYPECODE

tinyint

false

255

1=Auction Event, 2=Constituent, 3=Event Registrant, 4=Auction Item, 5=Auction Purchase, 6=Auction Package, 254=Error, 255=Unknown

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.

RECORDTYPE

nvarchar(16) (Computed)

true

Provides a translation for the 'RECORDTYPECODE' field.

WASLOOKEDUP

bit

false

0

Indexes
Index Name Field(s) Unique Primary Clustered

IX_BATCHAMPROIMPORT_DATEADDED

DATEADDED

False

False

True

IX_BATCHAMPROIMPORT_DATECHANGED

DATECHANGED

False

False

False

PK_BATCHAMPROIMPORT

ID

True

True

False

Triggers
Trigger Name Description

TR_BATCHAMPROIMPORT_AUDIT_UPDATE

TR_BATCHAMPROIMPORT_AUDIT_DELETE

Referenced by
Referenced by Field

BATCHAMPROIMPORTBATCHSYSTEMMESSAGES

BATCHAMPROIMPORTID

BATCHAMPROIMPORTBATCHUSERMESSAGE

ID

BATCHAMPROIMPORTCONSTITUENT

ID

BATCHAMPROIMPORTEVENT

ID

BATCHAMPROIMPORTITEM

ID

BATCHAMPROIMPORTMESSAGE

AMPROIMPORTID

BATCHAMPROIMPORTPACKAGE

ID

BATCHAMPROIMPORTPURCHASE

ID

BATCHAMPROIMPORTREGISTRANT

ID