FUNDINGREQUESTNOTE (4.0SP20)

This table contains notes belonging to funding request.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

AUTHORID

uniqueidentifier

true

The author of the note.

FUNDINGREQNOTETYPECODEID

uniqueidentifier

false

Indicates the user-defined type of this note.

FUNDINGREQUESTID

uniqueidentifier

false

The funding request record to which this note belongs.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

DATEENTERED

datetime

false

The date that the note was entered

TITLE

nvarchar(50)

false

''

The title of the note.

TEXTNOTE

nvarchar(max)

false

''

The text that comprises this note.

HTMLNOTE

nvarchar(max)

false

''

The HTML that comprises this note.

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_FUNDINGREQUESTNOTE_AUTHORID

AUTHORID

False

False

False

IX_FUNDINGREQUESTNOTE_DATEADDED

DATEADDED

False

False

True

IX_FUNDINGREQUESTNOTE_DATECHANGED

DATECHANGED

False

False

False

IX_FUNDINGREQUESTNOTE_FUNDINGREQUESTID

FUNDINGREQUESTID

False

False

False

PK_FUNDINGREQUESTNOTE

ID

True

True

False

Triggers
Trigger Name Description

TR_FUNDINGREQUESTNOTE_INSERT_HTMLPOPULATE

TR_FUNDINGREQUESTNOTE_AUDIT_UPDATE

TR_FUNDINGREQUESTNOTE_AUDIT_DELETE