Primary Key | Field Type |
---|---|
ID | uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
GOAL | money | Default = 0 | The fundraising goal on the appeal. | |
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. | |
ORGANIZATIONGOAL | money | Default = 0 | Monetary goal for the appeal in organization currency. |
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 | CURRENCYEXCHANGERATE.ID | The exchange rate used to convert from goal to organization goal. | |
BASECURRENCYID | uniqueidentifier | CURRENCY.ID | The base currency associated with this appeal. |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
IX_TEAMFUNDRAISER_BASECURRENCYID | BASECURRENCYID | |||
IX_TEAMFUNDRAISER_DATEADDED | DATEADDED | |||
IX_TEAMFUNDRAISER_DATECHANGED | DATECHANGED | |||
IX_TEAMFUNDRAISER_ORGANIZATIONEXCHANGERATEID | ORGANIZATIONEXCHANGERATEID | |||
PK_TEAMFUNDRAISER | ID | |||
UIX_TEAMFUNDRAISER_CONSTITUENTID_APPEALID | CONSTITUENTID, APPEALID |
Referenced by | Field |
---|---|
TEAMFUNDRAISINGTEAMMEMBER | TEAMFUNDRAISERID |