SIGNATUREAPPLICATIONTYPE

Application types for signatures

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
TYPECODE tinyint Default = 0 The type of application.
TYPE nvarchar(15) (Computed) yes CASE [TYPECODE] WHEN 0 THEN N'Payables checks' END Provides a translation for the 'TYPECODE' field.
ISACTIVE bit Default = 1 Indicates whether this application type is available
SEQUENCE int Default = 0 Defines the default order for the application types
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
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_SIGNATUREAPPLICATIONTYPE_DATEADDED DATEADDED yes
IX_SIGNATUREAPPLICATIONTYPE_DATECHANGED DATECHANGED
PK_SIGNATUREAPPLICATIONTYPE ID yes yes
UIX_SIGNATUREAPPLICATIONTYPE_TYPE TYPE yes

Triggers

Trigger Name Description
TR_SIGNATUREAPPLICATIONTYPE_AUDIT_UPDATE
TR_SIGNATUREAPPLICATIONTYPE_AUDIT_DELETE

Referenced by

Referenced by Field
SIGNATUREAPPLICATION SIGNATUREAPPLICATIONTYPEID