PEOPLEFINDERSUBMITPROCESS

The PeopleFinder 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 = 'PeopleFinder Submit Process' Name of the process.
DATELASTRUN datetime yes This date is used to filter records by the date the process was last run.
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.
INCLUDEINACTIVE bit Default = 1
INCLUDEINCOMPLETEADDRESSES bit Default = 1
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.

Foreign Keys

Foreign Key Field Type Null Notes Description
PEOPLEFINDERID uniqueidentifier PEOPLEFINDER.ID Foreign key for the PeopleFinder table.
IDSETREGISTERID uniqueidentifier yes IDSETREGISTER.ID A foreign key to the ID set used to filter the 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_PEOPLEFINDERSUBMITPROCESS_DATEADDED DATEADDED yes
IX_PEOPLEFINDERSUBMITPROCESS_DATECHANGED DATECHANGED
PK_PEOPLEFINDERSUBMITPROCESS ID yes yes
UC_PEOPLEFINDERSUBMITPROCESS_PEOPLEFINDERID PEOPLEFINDERID yes

Triggers

Trigger Name Description
TR_PEOPLEFINDERSUBMITPROCESS_AUDIT_UPDATE
TR_PEOPLEFINDERSUBMITPROCESS_AUDIT_DELETE

Referenced by

Referenced by Field
PEOPLEFINDERSUBMITPROCESSSTATUS PARAMETERSETID