COAUPDATE

The AddressFinder 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 AddressFinder 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 change of update 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.
UPDATEADDRESSCODE tinyint Default = 0 Update addresses with forwardable moves or changes and validations.
SAVEFORMERADDRESS bit Default = 0 Save former address in constituent address list when there is a forwardable move.
UPDATEADDRESS nvarchar(24) (Computed) yes CASE [UPDATEADDRESSCODE] WHEN 0 THEN N'Forwardable moves only' WHEN 1 THEN N'All addresses' WHEN 2 THEN N'Update NCOA changes only' END
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 = ''
APPLYTOFILEDOWNLOAD bit Default = 0

Foreign Keys

Foreign Key Field Type Null Notes Description
SITEID uniqueidentifier yes SITE.ID Foreign key for site table.
DATATUNEUPID uniqueidentifier DATATUNEUP.ID Foreign key to the data tune-up 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.
ADDRESSTYPECODEID uniqueidentifier yes ADDRESSTYPECODE.ID Set the former addresses to this address type.
FOOTNOTECODE1REASONCODEID uniqueidentifier yes DONOTMAILREASONCODE.ID The do not mail reason that forwardable moves should be marked with.
FOOTNOTECODE2REASONCODEID uniqueidentifier yes DONOTMAILREASONCODE.ID The do not mail reason that moves with no forwardable addresses should be marked with.
FOOTNOTECODE3REASONCODEID uniqueidentifier yes DONOTMAILREASONCODE.ID The do not mail reason that PO box closings should be marked with.
FOOTNOTECODE4REASONCODEID uniqueidentifier yes DONOTMAILREASONCODE.ID The do not mail reason that moves to foreign addresses should be marked with.
FOOTNOTECODE5REASONCODEID uniqueidentifier yes DONOTMAILREASONCODE.ID The do not mail reason that moves without verifiable second addresses should be marked with.
FOOTNOTECODE6REASONCODEID uniqueidentifier yes DONOTMAILREASONCODE.ID The do not mail reason that moves to addresses without USPS records should be marked with.
FOOTNOTECODE7REASONCODEID uniqueidentifier yes DONOTMAILREASONCODE.ID The do not mail reason that temporary addresses that have lapsed should be marked with.
INFOSOURCECODEID uniqueidentifier yes INFOSOURCECODE.ID The information source to mark addresses with.
MAILGRADEFREASONCODEID uniqueidentifier yes DONOTMAILREASONCODE.ID
PRIMARYCONTACTTITLECODEID uniqueidentifier yes TITLECODE.LOCALID

Indexes

Index Name Fields Unique Primary Clustered
IX_COAUPDATE_DATEADDED DATEADDED yes
IX_COAUPDATE_DATECHANGED DATECHANGED
PK_COAUPDATE ID yes yes

Triggers

Trigger Name Description
TR_COAUPDATE_AUDIT_UPDATE
TR_COAUPDATE_AUDIT_DELETE

Referenced by

Referenced by Field
BATCHCOAUPDATE COAUPDATEID
COAUPDATECREATEPROCESS COAUPDATEID
COAUPDATEFILE ID
COAUPDATEGETPROCESS COAUPDATEID
COAUPDATERESUBMITPROCESS COAUPDATEID
COAUPDATESUBMITPROCESS COAUPDATEID