BANKACCOUNTAUTHORIZEDSIGNATURE

This table contains authorized signatures for a bank account

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
AUTOSIGNATURECODE tinyint Default = 1 Indicates whether or not auto-signatures are allowed
AUTOSIGNATURE nvarchar(28) (Computed) yes CASE [AUTOSIGNATURECODE] WHEN 0 THEN N'Allow manual signatures only' WHEN 1 THEN N'Allow auto-signatures' END Provides a translation for the 'AUTOSIGNATURECODE' field.
MANUALSIGNATURENAME nvarchar(255) Default = 'null' Name used with manual signature
NOTES nvarchar(255) Default = '' Notes regarding signature
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
BANKACCOUNTID uniqueidentifier BANKACCOUNT.ID Bank account ID
SIGNATUREID uniqueidentifier yes SIGNATURE.ID Link to the signature.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_BANKACCOUNTAUTHORIZEDSIGNATURE_DATEADDED DATEADDED yes
IX_BANKACCOUNTAUTHORIZEDSIGNATURE_DATECHANGED DATECHANGED
PK_BANKACCOUNTAUTHORIZEDSIGNATURE ID yes yes

Triggers

Trigger Name Description
TR_BANKACCOUNTAUTHORIZEDSIGNATURE_SIGNATUREUNIQUE
TR_BANKACCOUNTAUTHORIZEDSIGNATURE_UPDATE
TR_BANKACCOUNTAUTHORIZEDSIGNATURE_AUDIT_UPDATE
TR_BANKACCOUNTAUTHORIZEDSIGNATURE_AUDIT_DELETE

Referenced by

Referenced by Field
DISBURSEMENTPROCESS SIGNATURE1ID
DISBURSEMENTPROCESS SIGNATURE2ID
DISBURSEMENTPROCESSSIGNATURE BANKACCOUNTAUTHORIZEDSIGNATUREID
DISBURSEMENTPROCESSTEMPLATE SIGNATURE1ID
DISBURSEMENTPROCESSTEMPLATE SIGNATURE2ID
DISBURSEMENTPROCESSTEMPLATESIGNATURE BANKACCOUNTAUTHORIZEDSIGNATUREID