PEOPLEFINDER

The PeopleFinder 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 PeopleFinder 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 PeopleFinder process.
STEP nvarchar(25) (Computed) yes CASE [STEPCODE] WHEN 0 THEN N'Last run on:' WHEN 1 THEN N'Created and submitted on:' WHEN 2 THEN N'Received on:' WHEN 3 THEN N'Committed on:' WHEN 4 THEN N'Resubmitted on:' END Provides a translation for the 'STEPCODE' field.
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 alternate person when data tune-up is complete.
ALTERNATECONTACTEMAIL UDT_EMAILADDRESS Default = '' The email address of the alternate contact when data tune-up is complete.
ALTERNATECONTACTPHONE nvarchar(20) Default = '' The phone number of the primary contact when data tune-up is complete.
INFOSOURCECOMMENTS nvarchar(256) Default = ''
MARKASDECEASED bit Default = 1 Designates whether to mark records as deceased that have come back from DES as deceased.
MARKASDONOTMAIL bit Default = 1 Designates whether to update address records as do not mail that have been marked as do not mail from DES.
UPDATEPHONENUMBER bit Default = 1 Designates whether to update the phone number from DES.
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.
MINIMUMRANKCODE tinyint Default = 3 Indicates the minimum rank from DES to use in processing records.
MINIMUMRANK nvarchar(1) (Computed) yes CASE [MINIMUMRANKCODE] WHEN 0 THEN N'A' WHEN 1 THEN N'B' WHEN 2 THEN N'C' WHEN 3 THEN N'D' END Provides a translation for the 'MINIMUMRANKCODE' field.
UPDATELASTNAMECODE tinyint Default = 0 Designates what action to take with the new last name from DES.
UPDATELASTNAME nvarchar(85) (Computed) yes CASE [UPDATELASTNAMECODE] WHEN 0 THEN N'Add the last name as an alias' WHEN 1 THEN N'Replace the last name currently on the constituent record with the returned last name' WHEN 2 THEN N'Do nothing. I do not want to process last names returned by PeopleFinder' END Provides a translation for the 'UPDATELASTNAMECODE' field.
ADDFORMERLASTNAMEASALIAS bit Default = 0 Designates whether to add the constituent's current last name as an alias after changing their last name.
MARKPHONEASPRIMARY bit Default = 0
UPDATEADDRESS bit Default = 1
MARKADDRESSASPRIMARY bit Default = 1

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.
ADDRESSTYPECODEID uniqueidentifier yes ADDRESSTYPECODE.ID FK to ADDRESSTYPECODE
INFOSOURCECODEID uniqueidentifier yes INFOSOURCECODE.ID FK to INFOSOURCECODE
DONOTMAILREASONCODEID uniqueidentifier yes DONOTMAILREASONCODE.ID The do not mail reason code for records marked do not mail.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
PHONETYPECODEID uniqueidentifier yes PHONETYPECODE.LOCALID FK to PHONETYPECODE
OLDADDRESSTYPECODEID uniqueidentifier yes ADDRESSTYPECODE.ID
NEWADDRESSTYPECODEID uniqueidentifier yes ADDRESSTYPECODE.ID
NEWADDRESSINFOSOURCECODEID uniqueidentifier yes INFOSOURCECODE.ID

Indexes

Index Name Fields Unique Primary Clustered
IX_PEOPLEFINDER_DATEADDED DATEADDED yes
IX_PEOPLEFINDER_DATECHANGED DATECHANGED
PK_PEOPLEFINDER ID yes yes
UIX_PEOPLEFINDER_SITEID SITEID yes

Triggers

Trigger Name Description
TR_PEOPLEFINDER_AUDIT_UPDATE
TR_PEOPLEFINDER_AUDIT_DELETE

Referenced by

Referenced by Field
BATCHPEOPLEFINDER PEOPLEFINDERID
PEOPLEFINDERFILE ID
PEOPLEFINDERGETPROCESS PEOPLEFINDERID
PEOPLEFINDERRESUBMITPROCESS PEOPLEFINDERID
PEOPLEFINDERSUBMITPROCESS PEOPLEFINDERID