WEALTHCAPACITY (4.0SP14)

Contains giving wealth information for a constituent.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

ESTIMATEDWEALTHID

uniqueidentifier

true

FK to ESTIMATEDWEALTH

OVERALLRATINGCODEID

uniqueidentifier

true

FK to OVERALLRATINGCODE

MAJORGIVINGCAPACITYID

uniqueidentifier

true

FK to MAJORGIVINGCAPACITY

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

WEALTHCAPACITYFORMULAID

uniqueidentifier

true

The foreign key to the wealth capacity formula assigned to the user.

Fields
Field Field Type Null Notes Description

MAJORGIVINGCAPACITYVALUE

money

false

0

The Major Giving Capacity value.

CONFIRMED

bit

false

0

Indicates that the wealth capacity is confirmed and locked.

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.

SYSTEMCALCULATED

bit

false

1

The system has generated the wealth capacity values.

ESTIMATEDWEALTHVALUE

money

false

0

The Estimated Wealth value.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_WEALTHCAPACITY_DATEADDED

DATEADDED

False

False

True

IX_WEALTHCAPACITY_DATECHANGED

DATECHANGED

False

False

False

IX_WEALTHCAPACITY_ID_ESTIMATEDWEALTHID_MAJORGIVINGCAPACITYID

ID

ESTIMATEDWEALTHID

MAJORGIVINGCAPACITYID

False

False

False

PK_WEALTHCAPACITY

ID

True

True

False

Triggers
Trigger Name Description

TR_WEALTHCAPACITY_AUDIT_UPDATE

TR_WEALTHCAPACITY_AUDIT_DELETE