STANDINGORDERSIMPORTPROCESSEXCEPTION

Contains a list of exceptions that occurred during the execution of a standing orders import process.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
MESSAGE nvarchar(1000) Default = ''
ROWNUMBER int Default = 0 The number of the row that caused the exception.
ROWDATA nvarchar(max) Default = '' The row of data that caused the exception.
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.
ACCOUNTNUMBER nvarchar(4000) Default = '' The constituent account number in the exception row.
SORTCODE nvarchar(8) Default = '' The constituent account sorting code number in the exception row.
TRANSACTIONAMOUNT money Default = 0 The money amount in the exception row.
TRANSACTIONDATE datetime yes The transaction date in the exception row.
CONSTITUENTLOOKUPID nvarchar(100) Default = '' The LookupID of the constituent holding the bank account.
CONSTITUENTNAME nvarchar(200) Default = '' The name of the constituent holding the bank account.
REFERENCENUMBER nvarchar(20) Default = '' The reference number of the commitment.
ROWDATAXML xml yes

Foreign Keys

Foreign Key Field Type Null Notes Description
BUSINESSPROCESSSTATUSID uniqueidentifier BUSINESSPROCESSSTATUS.ID ID of the batch process status record to which the exception belongs
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_STANDINGORDERSIMPORTPROCESSEXCEPTION_BUSINESSPROCESSSTATUSID BUSINESSPROCESSSTATUSID
IX_STANDINGORDERSIMPORTPROCESSEXCEPTION_DATEADDED DATEADDED yes
IX_STANDINGORDERSIMPORTPROCESSEXCEPTION_DATECHANGED DATECHANGED
PK_STANDINGORDERSIMPORTPROCESSEXCEPTION ID yes yes

Triggers

Trigger Name Description
TR_STANDINGORDERSIMPORTPROCESSEXCEPTION_AUDIT_UPDATE
TR_STANDINGORDERSIMPORTPROCESSEXCEPTION_AUDIT_DELETE