TEAMFUNDRAISER
Stores information pertaining to team fundraisers.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
GOAL |
money |
|
Default = 0 |
The fundraising goal for the fundraising team. |
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. |
ORGANIZATIONGOAL |
money |
|
Default = 0 |
The Fundraising goal for the fundraising team in organization currency. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
APPEALID |
uniqueidentifier |
|
APPEAL.LOCALID
|
FK to APPEAL |
CONSTITUENTID |
uniqueidentifier |
|
CONSTITUENT.LOCALID
|
FK to CONSTITUENT |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
ORGANIZATIONEXCHANGERATEID |
uniqueidentifier |
yes |
CURRENCYEXCHANGERATE.ID
|
The exchange rate used to convert from goal to organization goal. |
BASECURRENCYID |
uniqueidentifier |
yes |
CURRENCY.ID
|
The base currency associated with the fundraising team. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_TEAMFUNDRAISER_BASECURRENCYID |
BASECURRENCYID |
|
|
|
IX_TEAMFUNDRAISER_DATEADDED |
DATEADDED |
|
|
yes |
IX_TEAMFUNDRAISER_DATECHANGED |
DATECHANGED |
|
|
|
IX_TEAMFUNDRAISER_ORGANIZATIONEXCHANGERATEID |
ORGANIZATIONEXCHANGERATEID |
|
|
|
PK_TEAMFUNDRAISER |
ID |
yes |
yes |
|
UIX_TEAMFUNDRAISER_CONSTITUENTID_APPEALID |
CONSTITUENTID, APPEALID |
yes |
|
|
Triggers
Referenced by