SIGNATURE

Signature

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
SIGNERCODE tinyint Default = 0 Selects if the signature is associated with an application user or not.
SIGNER nvarchar(33) (Computed) yes CASE [SIGNERCODE] WHEN 0 THEN N'Signer is an application user' WHEN 1 THEN N'Signer is not an application user' END Provides a translation for the 'SIGNERCODE' field.
NAME nvarchar(255) Default = '' Name of none application user associated with signature.
SIGNATURE varbinary The image of the signature
SIGNATURETHUMBNAIL varbinary
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
APPUSERID uniqueidentifier yes APPUSER.ID The application user associated with signature.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_SIGNATURE_DATEADDED DATEADDED yes
IX_SIGNATURE_DATECHANGED DATECHANGED
PK_SIGNATURE ID yes yes

Triggers

Trigger Name Description
TR_SIGNATURE_AUDIT_UPDATE
TR_SIGNATURE_AUDIT_DELETE

Referenced by

Referenced by Field
BANKACCOUNTAUTHORIZEDSIGNATURE SIGNATUREID
SIGNATUREAPPLICATION SIGNATUREID