FUNDINGREQUESTOUTLINESTEP

Each funding request outline step is represented by a row in the funding request outline step table.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
OBJECTIVE nvarchar(100) Default = ''
FUNDRAISERROLECODE tinyint Default = 0 Indicates which fundraiser should be responsible for this step.
FUNDRAISERROLE nvarchar(19) (Computed) yes CASE [FUNDRAISERROLECODE] WHEN 0 THEN N'Prospect manager' WHEN 1 THEN N'Primary manager' WHEN 2 THEN N'Secondary manager' WHEN 3 THEN N'Secondary solicitor' END Provides a translation for the 'FUNDRAISERROLECODE' field.
DATEOFFSET int Default = 0 The step date will be this number of days after the first step.
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
FUNDINGREQUESTOUTLINEID uniqueidentifier FUNDINGREQUESTOUTLINE.ID FK to FUNDINGREQUESTOUTLINE
INTERACTIONTYPECODEID uniqueidentifier yes INTERACTIONTYPECODE.ID FK to INTERACTIONTYPECODE
FUNDINGREQUESTSTAGECODEID uniqueidentifier FUNDINGREQUESTSTAGECODE.ID Indicates which stage of the funding request outline this step belongs to.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_FUNDINGREQUESTOUTLINESTEP_DATEADDED DATEADDED yes
IX_FUNDINGREQUESTOUTLINESTEP_DATECHANGED DATECHANGED
IX_FUNDINGREQUESTOUTLINESTEP_FUNDINGREQUESTOUTLINEID FUNDINGREQUESTOUTLINEID
PK_FUNDINGREQUESTOUTLINESTEP ID yes yes

Triggers

Trigger Name Description
TR_FUNDINGREQUESTOUTLINESTEP_AUDIT_UPDATE
TR_FUNDINGREQUESTOUTLINESTEP_AUDIT_DELETE
TR_FUNDINGREQUESTOUTLINESTEP_AUDIT_ETLDELETEDID

Referenced by

Referenced by Field
INTERACTION FUNDINGREQUESTOUTLINESTEPID