| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
AMOUNT |
money | Default = 0 | ||
PROGRESS |
int | Default = 0 | ||
GOALDATE |
datetime | ![]() |
||
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. |
ISFUNDRAISINGGOAL |
bit | Default = 0 | Designates whether the goal is a fundraising goal | |
STARTDATE |
datetime | ![]() |
||
DESCRIPTION |
nvarchar(200) | Default = '' | Provides a description of the purpose of a goal. | |
NAME |
nvarchar(50) | Default = '' | Provides a name of the purpose of a goal. | |
ORGANIZATIONAMOUNT |
money | Default = 0 | The amount of the group fundraising goal in organization currency. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
GROUPID |
uniqueidentifier | GROUPDATA.ID | FK to GROUPDATA | |
GROUPGOALUNITCODEID |
uniqueidentifier | ![]() |
GROUPGOALUNITCODE.ID | FK to GROUPGOALUNITCODE |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
BASECURRENCYID |
uniqueidentifier | ![]() |
CURRENCY.ID | The base currency associated with this group fundraising goal. |
ORGANIZATIONEXCHANGERATEID |
uniqueidentifier | ![]() |
CURRENCYEXCHANGERATE.ID | The exchange rate used to convert from amount to organization amount. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_GROUPGOAL_DATEADDED |
DATEADDED | ![]() |
||
IX_GROUPGOAL_DATECHANGED |
DATECHANGED | |||
PK_GROUPGOAL |
ID | ![]() |
![]() |
|
UIX_GROUPGOAL_GROUPID_NAME_ISFUNDRAISINGGOAL |
GROUPID, NAME, ISFUNDRAISINGGOAL | ![]() |
| Trigger Name | Description |
|---|---|
TR_GROUPGOAL_INSERTUPDATE_CURRENCY |
|
TR_GROUPGOAL_AUDIT_UPDATE |
|
TR_GROUPGOAL_AUDIT_DELETE |

ID
AMOUNT
TSLONG
GROUPID
IX_GROUPGOAL_DATEADDED
IX_GROUPGOAL_DATECHANGED