BATCHADDRESSVALIDATIONBATCHUSERMESSAGE (4.0SP20)

Auto-generated table to handle error/rejection/exception messages for the BATCHADDRESSVALIDATION 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

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.

MESSAGETYPE

nvarchar(24) (Computed)

true

Provides a translation for the 'MESSAGETYPECODE' field.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_BATCHADDRESSVALIDATIONBATCHUSERMESSAGE_DATEADDED

DATEADDED

False

False

True

IX_BATCHADDRESSVALIDATIONBATCHUSERMESSAGE_DATECHANGED

DATECHANGED

False

False

False

PK_BATCHADDRESSVALIDATIONBATCHUSERMESSAGE

ID

True

True

False

Triggers
Trigger Name Description

TR_BATCHADDRESSVALIDATIONBATCHUSERMESSAGE_AUDIT_UPDATE

TR_BATCHADDRESSVALIDATIONBATCHUSERMESSAGE_AUDIT_DELETE