Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 MAJORGIVINGCAPACITYVALUE money   Default = 0 The Major Giving Capacity value.
 CONFIRMED bit   Default = 0 Indicates that the wealth capacity is confirmed and locked.
 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.
 SYSTEMCALCULATED bit   Default = 1 The system has generated the wealth capacity values.
 ESTIMATEDWEALTHVALUE money   Default = 0 The Estimated Wealth value.

Foreign Key Field Type Null Notes Description
 ID uniqueidentifier   CONSTITUENT.LOCALID Primary Key.
 ESTIMATEDWEALTHID uniqueidentifier ESTIMATEDWEALTH.ID FK to ESTIMATEDWEALTH
 OVERALLRATINGCODEID uniqueidentifier OVERALLRATINGCODE.ID FK to OVERALLRATINGCODE
 MAJORGIVINGCAPACITYID uniqueidentifier MAJORGIVINGCAPACITY.ID FK to MAJORGIVINGCAPACITY
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 WEALTHCAPACITYFORMULAID uniqueidentifier WEALTHCAPACITYFORMULA.ID The foreign key to the wealth capacity formula assigned to the user.

Index Name Field(s) Unique Primary Clustered
 IX_WEALTHCAPACITY_DATEADDED DATEADDED    
 IX_WEALTHCAPACITY_DATECHANGED DATECHANGED      
 IX_WEALTHCAPACITY_ID_ESTIMATEDWEALTHID_MAJORGIVINGCAPACITYID ID, ESTIMATEDWEALTHID, MAJORGIVINGCAPACITYID      
 PK_WEALTHCAPACITY ID  

Trigger Name Description
 TR_WEALTHCAPACITY_AUDIT_UPDATE
 TR_WEALTHCAPACITY_AUDIT_DELETE

Entity-Relationship diagram of this table