RECOGNITIONFILTER

Holds information for recognition filters.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
NAME nvarchar(100) Default = '' Filter name
ISINDIVIDUALDEFAULT bit Default = 0 True if the default for individual views
ISHOUSEHOLDDEFAULT bit Default = 0 True if the default for household views
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.
PLEDGERECOGNITIONCODE tinyint Default = 0
PLEDGERECOGNITION nvarchar(34) (Computed) yes CASE [PLEDGERECOGNITIONCODE] WHEN 0 THEN N'Exclude associated pledge payments' WHEN 1 THEN N'Include associated pledge payments' END

Foreign Keys

Foreign Key Field Type Null Notes Description
REVENUEFILTERID uniqueidentifier yes REVENUEFILTER.ID FK to REVENUEFILTER
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_RECOGNITIONFILTER_DATEADDED DATEADDED yes
IX_RECOGNITIONFILTER_DATECHANGED DATECHANGED
PK_RECOGNITIONFILTER ID yes yes
UC_RECOGNITIONFILTER_NAME NAME yes

Triggers

Trigger Name Description
TR_RECOGNITIONFILTER_AUDIT_UPDATE
TR_RECOGNITIONFILTER_AUDIT_DELETE

Referenced by

Referenced by Field
RECOGNITIONFILTERRECOGNTIONTYPE RECOGNITIONFILTERID