Primary Key Field Type
 ID uniqueidentifier

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) CONVERT(bigint, TS) Numeric representation of the timestamp.

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

Index Name Field(s) Unique Primary Clustered
 IX_WPRELATIONSHIP_NPA_CONSTITUENTID CONSTITUENTID      
 IX_WPRELATIONSHIP_NPA_DATEADDED DATEADDED    
 IX_WPRELATIONSHIP_NPA_DATECHANGED DATECHANGED      
 IX_WPRELATIONSHIP_NPA_EIN EIN      
 PK_WPRELATIONSHIP_NPA ID  

Trigger Name Description
 TR_WPRELATIONSHIP_NPA_AUDIT_UPDATE
 TR_WPRELATIONSHIP_NPA_AUDIT_DELETE

Referenced by Field
 WPNONPROFITAFFILIATION WPRELATIONSHIP_NPA_ID
 WPRELATIONSHIP_NPA_IND WPRELATIONSHIP_NPA_ID

Entity-Relationship diagram of this table