BATCHAMPROIMPORTBATCHUSERMESSAGE (4.0SP20)

Auto-generated table to handle error/rejection/exception messages for the BATCHAMPROIMPORT batch table

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

MESSAGETEXT

nvarchar(2000)

false

''

MESSAGETYPECODE

tinyint

false

0

0=General error, 1=Duplicate record error, 2=Address validation error

MESSAGETYPE

nvarchar(24) (Computed)

true

Provides a translation for the 'MESSAGETYPECODE' field.

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.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_BATCHAMPROIMPORTBATCHUSERMESSAGE_DATEADDED

DATEADDED

False

False

True

IX_BATCHAMPROIMPORTBATCHUSERMESSAGE_DATECHANGED

DATECHANGED

False

False

False

PK_BATCHAMPROIMPORTBATCHUSERMESSAGE

ID

True

True

False

Triggers
Trigger Name Description

TR_BATCHAMPROIMPORTBATCHUSERMESSAGE_AUDIT_UPDATE

TR_BATCHAMPROIMPORTBATCHUSERMESSAGE_AUDIT_DELETE