WPRELATIONSHIP_PF

Contains WealthPoint Private Foundation Relationship information.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
EIN nvarchar(30) Default = ''
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.
EXECCOUNT int Default = 0

Foreign Keys

Foreign Key Field Type Null Notes Description
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CONSTITUENTID uniqueidentifier yes CONSTITUENT.LOCALID FK to CONSTITUENT

Indexes

Index Name Fields Unique Primary Clustered
IX_WPRELATIONSHIP_PF_CONSTITUENTID CONSTITUENTID
IX_WPRELATIONSHIP_PF_DATEADDED DATEADDED yes
IX_WPRELATIONSHIP_PF_DATECHANGED DATECHANGED
IX_WPRELATIONSHIP_PF_EIN EIN
PK_WPRELATIONSHIP_PF ID yes yes

Triggers

Trigger Name Description
TR_WPRELATIONSHIP_PF_AUDIT_UPDATE
TR_WPRELATIONSHIP_PF_AUDIT_DELETE

Referenced by

Referenced by Field
WPPRIVATEFOUNDATION WPRELATIONSHIP_PF_ID
WPRELATIONSHIP_PF_IND WPRELATIONSHIP_PF_ID