BATCHPHONEFINDER (4.0SP17)

Stores PhoneFinder batch information.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

BATCHID

uniqueidentifier

false

The batch the data in this table belongs to

PHONEFINDERID

uniqueidentifier

false

This batch's parent PhoneFinder process

CONSTITUENTID

uniqueidentifier

true

The constituent to update

ADDRESSID

uniqueidentifier

true

The address of the constituent to update

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

SEQUENCE

int

false

0

PHONENUMBER

nvarchar(20)

false

''

The phone number to insert or update

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

PHONEMATCHTYPE

nvarchar(1)

false

''

The match type returned by the PhoneFinder service

MATCHCOMPOSITESCORE

nvarchar(5)

false

''

The match composite score returned by the PhoneFinder service

PHONESTATUS

nvarchar(1)

false

''

The phone status returned by the PhoneFinder service

DONOTCALLSTATUS

nvarchar(1)

false

''

The phone's do not call status returned by the PhoneFinder service

PHONEVERIFIED

bit

false

0

Whether or not the phone was verified by the finder process

Indexes
Index Name Field(s) Unique Primary Clustered

IX_BATCHPHONEFINDER_ADDRESSID

ADDRESSID

False

False

False

IX_BATCHPHONEFINDER_CONSTITUENTID

CONSTITUENTID

False

False

False

IX_BATCHPHONEFINDER_DATEADDED

DATEADDED

False

False

True

IX_BATCHPHONEFINDER_DATECHANGED

DATECHANGED

False

False

False

PK_BATCHPHONEFINDER

ID

True

True

False

Triggers
Trigger Name Description

TR_BATCHPHONEFINDER_AUDIT_UPDATE

TR_BATCHPHONEFINDER_AUDIT_DELETE

Referenced by
Referenced by Field

BATCHPHONEFINDERBATCHSYSTEMMESSAGES

BATCHPHONEFINDERID

BATCHPHONEFINDERBATCHUSERMESSAGE

ID