EMAILFINDERSUBMITPROCESS

The EmailFinder submit process is represented by this table.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
NAME nvarchar(100) Default = 'EmailFinder Submit Process' Name of the process.
DATELASTRUN datetime yes This date is used to filter records by the date the process was last run.
CREATEOUTPUTIDSET bit Default = 0 Designates whether or not an ID set should be created as a result of the process.
OUTPUTIDSETNAME nvarchar(100) Default = '' The name of the output ID set to be created by the process.
OVERWRITEOUTPUTIDSET bit Default = 0 Designates whether or not to overwrite the output ID set if one with the same name already exists.
CREATENEWBATCH bit Default = 0 Indicates the need for a new batch to be created when the process is run.
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.
ADDRESSINCLUDECODE tinyint Default = 0 Designates primary or specific addresses to use in the process.
ADDRESSINCLUDE nvarchar(17) (Computed) yes CASE [ADDRESSINCLUDECODE] WHEN 0 THEN N'All addresses' WHEN 1 THEN N'Primary addresses' WHEN 2 THEN N'Specific address' END Provides a translation for the 'ADDRESSINCLUDECODE' field.
SUBMITHOUSEHOLD bit Default = 0 For households, submit shared addresses once along with primary contact name.
INCLUDEINACTIVE bit Default = 0
INCLUDEINCOMPLETEADDRESSES bit Default = 0

Foreign Keys

Foreign Key Field Type Null Notes Description
EMAILFINDERID uniqueidentifier EMAILFINDER.ID Foreign key for the EmailFinder table.
IDSETREGISTERID uniqueidentifier yes IDSETREGISTER.ID A foreign key to the ID set used to filter ther records included in the process.
ADDRESSTYPECODEID uniqueidentifier yes ADDRESSTYPECODE.ID The address type code ID to be included in the process.
OUTPUTIDSETRECORDTYPEID uniqueidentifier yes RECORDTYPE.ID A foreign key to the record type of the output ID set to be created by the process.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_EMAILFINDERSUBMITPROCESS_DATEADDED DATEADDED yes
IX_EMAILFINDERSUBMITPROCESS_DATECHANGED DATECHANGED
PK_EMAILFINDERSUBMITPROCESS ID yes yes
UC_EMAILFINDERSUBMITPROCESS_EMAILFINDERID EMAILFINDERID yes

Triggers

Trigger Name Description
TR_EMAILFINDERSUBMITPROCESS_AUDIT_UPDATE
TR_EMAILFINDERSUBMITPROCESS_AUDIT_DELETE

Referenced by

Referenced by Field
EMAILFINDERSUBMITPROCESSSTATUS PARAMETERSETID