Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 TITLE nvarchar(150)   Default = '' The title of the grant.
 MAXAWARD money   Default = 0
 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) CONVERT(bigint, TS) Numeric representation of the timestamp.
 DESCRIPTION nvarchar(500)   Default = '' Any descriptive text that is associated with the grant.
 MINAWARD money   Default = 0
 ORGANIZATIONMINAWARD money   Default = 0
 ORGANIZATIONMAXAWARD money   Default = 0
 TRANSACTIONMINAWARD money   Default = 0
 TRANSACTIONMAXAWARD money   Default = 0

Foreign Key Field Type Null Notes Description
 GRANTORID uniqueidentifier   GRANTOR.ID The grantor that is associated with the grant.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 ORGANIZATIONEXCHANGERATEID uniqueidentifier CURRENCYEXCHANGERATE.ID The exchange rate used to convert from amount to organization amount.
 BASECURRENCYID uniqueidentifier CURRENCY.ID The base currency associated with this grant.
 BASEEXCHANGERATEID uniqueidentifier CURRENCYEXCHANGERATE.ID The exchange rate used to convert from amount to base amount.
 TRANSACTIONCURRENCYID uniqueidentifier CURRENCY.ID The transaction currency associated with this grant.

Index Name Field(s) Unique Primary Clustered
 IX_GRANTS_BASECURRENCYID BASECURRENCYID      
 IX_GRANTS_BASEEXCHANGERATEID BASEEXCHANGERATEID      
 IX_GRANTS_DATEADDED DATEADDED    
 IX_GRANTS_DATECHANGED DATECHANGED      
 IX_GRANTS_ORGANIZATIONEXCHANGERATEID ORGANIZATIONEXCHANGERATEID      
 IX_GRANTS_TRANSACTIONCURRENCYID TRANSACTIONCURRENCYID      
 PK_GRANTS ID  
 UIX_GRANTS_TITLE_GRANTORID TITLE, GRANTORID    

Trigger Name Description
 TR_GRANTS_AUDIT_UPDATE
 TR_GRANTS_AUDIT_DELETE
 TR_GRANTS_INSERTUPDATE_CURRENCY

Referenced by Field
 FUNDINGREQUEST GRANTSID
 GRANTDEADLINE GRANTID
 GRANTFUNDINGTYPE GRANTID

Entity-Relationship diagram of this table