FINANCIALINSTITUTIONREJECTIONCODE

Stores rejection codes for financial institutions.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
REJECTIONCODE nvarchar(10) Default = '' The rejection code for the financial institution.
SEQUENCE int Default = 0 Stores the user-defined sequence for rejection codes.
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
FINANCIALINSTITUTIONID uniqueidentifier yes FINANCIALINSTITUTION.ID Foreign key to the FINANCIALINSTITUTION table
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_FINANCIALINSTITUTIONREJECTIONCODE_DATEADDED DATEADDED yes
IX_FINANCIALINSTITUTIONREJECTIONCODE_DATECHANGED DATECHANGED
IX_FINANCIALINSTITUTIONREJECTIONCODE_REJECTIONCODE REJECTIONCODE
PK_FINANCIALINSTITUTIONREJECTIONCODE ID yes yes
UIX_FINANCIALINSTITUTIONREJECTIONCODE_FINANCIALINSTITUTIONID_REJECTIONCODE FINANCIALINSTITUTIONID, REJECTIONCODE yes

Triggers

Trigger Name Description
TR_FINANCIALINSTITUTIONREJECTIONCODE_AUDIT_UPDATE
TR_FINANCIALINSTITUTIONREJECTIONCODE_AUDIT_DELETE