BANKACCOUNTSEPAINFO

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
INITIATINGPARTYNAME nvarchar(70) Default = ''
CREDITORID nvarchar(35) Default = ''
DATEADDED datetime Default = getdate()
DATECHANGED datetime Default = getdate()
TS timestamp
TSLONG bigint (Computed) yes CONVERT(bigint, TS)

Foreign Keys

Foreign Key Field Type Null Notes Description
ID uniqueidentifier BANKACCOUNT.ID
ADDEDBYID uniqueidentifier CHANGEAGENT.ID
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID

Indexes

Index Name Fields Unique Primary Clustered
IX_BANKACCOUNTSEPAINFO_DATEADDED DATEADDED yes
IX_BANKACCOUNTSEPAINFO_DATECHANGED DATECHANGED
PK_BANKACCOUNTSEPAINFO ID yes yes

Triggers

Trigger Name Description
TR_BANKACCOUNTSEPAINFO_AUDIT_UPDATE
TR_BANKACCOUNTSEPAINFO_AUDIT_DELETE