DECEASEDFINDER

The DeceasedRecordFinder process is represented by this table.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
NAME nvarchar(150) Default = '' Name to be used if there is no site.
DESCRIPTION nvarchar(250) Default = '' The description of the DeceasedRecordFinder process.
DATELASTRUN datetime yes Stores the date of the list time one of the steps was run.
STEPCODE tinyint Default = 0 Tracks the most current state of the DeceasedRecordFinder process.
FILENAME nvarchar(256) Default = '' The file name of the generated file that is to be uploaded to Blackbaud.
FILEUPLOADED bit Default = 0 Indicates whether the process created file has been uploaded to Blackbaud.
FILEAVAILABLE bit Default = 0 Indicates whether the file has been processed by Blackbaud and is available to download.
FILEDOWNLOADED bit Default = 0 Indicates whether the results file has been downloaded from Blackbaud.
PRIMARYCONTACTNAME nvarchar(250) Default = '' The name of the primary person when data tune-up is complete.
PRIMARYCONTACTEMAIL UDT_EMAILADDRESS Default = '' The email address of the primary contact when data tune-up is complete.
PRIMARYCONTACTPHONE nvarchar(20) Default = '' The phone number of the primary contact when data tune-up is complete.
ALTERNATECONTACTNAME nvarchar(250) Default = '' The name of the primary person when data tune-up is complete.
ALTERNATECONTACTEMAIL UDT_EMAILADDRESS Default = '' The email address of the primary contact when data tune-up is complete.
ALTERNATECONTACTPHONE nvarchar(20) Default = '' The phone number of the primary contact when data tune-up is complete.
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.
SABOTENJOBID uniqueidentifier yes
STEP nvarchar(15) (Computed) yes CASE [STEPCODE] WHEN 0 THEN N'Last run on:' WHEN 1 THEN N'Created on:' WHEN 2 THEN N'Submitted on:' WHEN 3 THEN N'Received on:' WHEN 4 THEN N'Committed on:' WHEN 5 THEN N'Resubmitted on:' END
CONTACTJOBTITLE nvarchar(50) Default = ''

Foreign Keys

Foreign Key Field Type Null Notes Description
SITEID uniqueidentifier yes SITE.ID Foreign key for site table.
BATCHID uniqueidentifier yes BATCH.ID The batch instance into which the data will be imported.
BATCHAPPUSERID uniqueidentifier yes APPUSER.ID Represents the user who will be the owner of the batch once it is created by the import process.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
PRIMARYCONTACTTITLECODEID uniqueidentifier yes TITLECODE.LOCALID

Indexes

Index Name Fields Unique Primary Clustered
IX_DECEASEDFINDER_DATEADDED DATEADDED yes
IX_DECEASEDFINDER_DATECHANGED DATECHANGED
PK_DECEASEDFINDER ID yes yes
UIX_DECEASEDFINDER_SITEID SITEID yes

Triggers

Trigger Name Description
TR_DECEASEDFINDER_AUDIT_UPDATE
TR_DECEASEDFINDER_AUDIT_DELETE

Referenced by

Referenced by Field
BATCHDECEASEDFINDER DECEASEDFINDERID
DECEASEDFINDERCREATEPROCESS DECEASEDFINDERID
DECEASEDFINDERFILE ID
DECEASEDFINDERGETPROCESS DECEASEDFINDERID
DECEASEDFINDERGETPROCESSDATA DECEASEDFINDERID
DECEASEDFINDERRESUBMITPROCESS DECEASEDFINDERID
DECEASEDFINDERSUBMITPROCESS DECEASEDFINDERID