GRANTDEADLINE

Each grant deadline in the system is represented by row in the Grant Deadline table.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
GRANTSAWARDEDDATE UDT_MONTHDAY Default = '0000'
BOARDREVIEWSTARTDATE UDT_MONTHDAY Default = '0000'
BOARDREVIEWENDDATE UDT_MONTHDAY Default = '0000'
APPLICATIONDEADLINEDATE UDT_MONTHDAY Default = '0000'
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
GRANTID uniqueidentifier GRANTS.ID A foreign key to the grants table
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_GRANTDEADLINE_DATEADDED DATEADDED yes
IX_GRANTDEADLINE_DATECHANGED DATECHANGED
IX_GRANTDEADLINE_GRANTID GRANTID
PK_GRANTDEADLINE ID yes yes

Triggers

Trigger Name Description
TR_GRANTDEADLINE_AUDIT_UPDATE
TR_GRANTDEADLINE_AUDIT_DELETE