BATCHAMPROIMPORTMESSAGE

Stores messages generated by the AuctionMaestro Pro import process.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
MESSAGETYPECODE tinyint Default = 0 0=Warning, 1=Error
MESSAGETYPE nvarchar(7) (Computed) yes CASE [MESSAGETYPECODE] WHEN 0 THEN N'Warning' WHEN 1 THEN N'Error' END Provides a translation for the 'MESSAGETYPECODE' field.
MESSAGE nvarchar(2000) Default = ''
SEQUENCE int 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.

Foreign Keys

Foreign Key Field Type Null Notes Description
AMPROIMPORTID uniqueidentifier BATCHAMPROIMPORT.ID FK to BATCHAMPROIMPORT
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_BATCHAMPROIMPORTMESSAGE_DATEADDED DATEADDED yes
IX_BATCHAMPROIMPORTMESSAGE_DATECHANGED DATECHANGED
PK_BATCHAMPROIMPORTMESSAGE ID yes yes

Triggers

Trigger Name Description
TR_BATCHAMPROIMPORTMESSAGE_AUDIT_UPDATE
TR_BATCHAMPROIMPORTMESSAGE_AUDIT_DELETE