TEAMFUNDRAISINGTEAM (4.0SP20)

Stores information pertaining to team fundraising teams.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

APPEALID

uniqueidentifier

false

FK to APPEAL

PARENTTEAMID

uniqueidentifier

true

FK to TEAMFUNDRAISINGTEAM

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

TEAMFUNDRAISINGTEAMGROUPID

uniqueidentifier

true

FK to TEAMFUNDRAISINGTEAMGROUP

ORGANIZATIONEXCHANGERATEID

uniqueidentifier

true

The exchange rate used to convert from goal to organization goal.

BASECURRENCYID

uniqueidentifier

true

The base currency associated with this team.

Fields
Field Field Type Null Notes Description

NAME

nvarchar(100)

false

''

GOAL

money

false

0

The fundraising goal for this team.

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.

ORGANIZATIONGOAL

money

false

0

The fundraising goal for this team in organization currency.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_TEAMFUNDRAISINGTEAM_BASECURRENCYID

BASECURRENCYID

False

False

False

IX_TEAMFUNDRAISINGTEAM_DATEADDED

DATEADDED

False

False

True

IX_TEAMFUNDRAISINGTEAM_DATECHANGED

DATECHANGED

False

False

False

IX_TEAMFUNDRAISINGTEAM_ORGANIZATIONEXCHANGERATEID

ORGANIZATIONEXCHANGERATEID

False

False

False

IX_TEAMFUNDRAISINGTEAM_TEAMFUNDRAISINGTEAMGROUPID

TEAMFUNDRAISINGTEAMGROUPID

False

False

False

PK_TEAMFUNDRAISINGTEAM

ID

True

True

False

UIX_TEAMFUNDRAISINGTEAM_PARENTTEAMID_APPEALID_NAME

PARENTTEAMID

APPEALID

NAME

True

False

False

Triggers
Trigger Name Description

TR_TEAMFUNDRAISINGTEAM_UPDATE_FAFGROUPDIRECTHIERARCHY

TR_TEAMFUNDRAISINGTEAM_DELETE_FAFGROUPDIRECTHIERARCHY

TR_TEAMFUNDRAISINGTEAM_INSERTUPDATE_CURRENCY

TR_TEAMFUNDRAISINGTEAM_DELETE_BBNCTEAMFUNDRAISINGTEAMIDMAP

TR_TEAMFUNDRAISINGTEAM_INSERT_BBNCTEAMFUNDRAISINGTEAMIDMAP

TR_TEAMFUNDRAISINGTEAM_AUDIT_UPDATE

TR_TEAMFUNDRAISINGTEAM_AUDIT_DELETE

TR_TEAMFUNDRAISINGTEAM_AUDIT_ETLDELETEDID

Referenced by
Referenced by Field

EMAILJOBEXTENSION

TEAMID

EVENTDONOR

TEAMFUNDRAISINGTEAMID

FAFCOMMENTS

TEAMFUNDRAISINGTEAMID

FAFGROUPDIRECTHIERARCHY

GROUPID

FAFGROUPSUMMARYINFORMATION

ID

FAFGROUPSUMMARYINFORMATION_CATEGORIZED

ID

FAFRSSFEED

TEAMFUNDRAISINGTEAMID

REGISTRANTBATCH

TEAMFUNDRAISINGTEAMID

STORY

TEAMFUNDRAISINGTEAMID

TEAMEXTENSION

TEAMFUNDRAISINGTEAMID

TEAMFUNDRAISINGTEAMCAPTAIN

TEAMFUNDRAISINGTEAMID

TEAMFUNDRAISINGTEAMMEMBER

TEAMFUNDRAISINGTEAMID

TEAMWIDGET

TEAMFUNDRAISINGTEAMID