RE7INTEGRATIONCONSTITUENTMAP

This table maps constituents in the database to The Raiser's Edge constituents.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
RE7RECORDID int Default = 0 Contains the record ID of the constituent in The Raiser's Edge database.
LASTSYNCDATE datetime yes Contains the date of the last successful sync of constituent with The Raiser's Edge.
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
ID uniqueidentifier CONSTITUENT.LOCALID Primary Key.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_RE7INTEGRATIONCONSTITUENTMAP_DATEADDED DATEADDED yes
IX_RE7INTEGRATIONCONSTITUENTMAP_DATECHANGED DATECHANGED
PK_RE7INTEGRATIONCONSTITUENTMAP ID yes yes
UIX_RE7INTEGRATIONCONSTITUENTMAP_RE7RECORDID RE7RECORDID yes

Triggers

Trigger Name Description
TR_RE7INTEGRATIONCONSTITUENTMAP_AUDIT_UPDATE
TR_RE7INTEGRATIONCONSTITUENTMAP_AUDIT_DELETE