FAFNFGCAMPAIGNLEVEL
Primary Key
| Primary Key | Field Type |
|---|---|
| ID | uniqueidentifier |
Fields
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
| NAME | nvarchar(100) | Default = '' | ||
| HIERARCHYPATH | hierarchyid | |||
| TOTALREVENUEGOAL | money | Default = 0 | ||
| DATEADDED | datetime | Default = getdate() | ||
| DATECHANGED | datetime | Default = getdate() | ||
| TS | timestamp | |||
| TSLONG | bigint (Computed) | yes | CONVERT(bigint, TS) | |
| DONORSGOAL | int | Default = 0 | ||
| PARTICIPANTSGOAL | int | Default = 0 | ||
| GROUPSGOAL | int | Default = 0 | ||
| COMMUNICATIONSGOAL | int | Default = 0 |
Foreign Keys
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
| NFGCAMPAIGNID | uniqueidentifier | FAFNFGCAMPAIGN.ID | ||
| CONTACTID | uniqueidentifier | yes | CONSTITUENT.LOCALID | |
| ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | ||
| CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID |
Indexes
| Index Name | Fields | Unique | Primary | Clustered |
|---|---|---|---|---|
| IX_FAFNFGCAMPAIGNLEVEL_CONTACTID | CONTACTID | |||
| IX_FAFNFGCAMPAIGNLEVEL_DATEADDED | DATEADDED | yes | ||
| IX_FAFNFGCAMPAIGNLEVEL_DATECHANGED | DATECHANGED | |||
| PK_FAFNFGCAMPAIGNLEVEL | ID | yes | yes | |
| UC_FAFNFGCAMPAIGNLEVEL_HIERARCHYPATH | HIERARCHYPATH | yes | ||
| UIX_FAFNFGCAMPAIGNLEVEL_NFGCAMPAIGNID_NAME | NFGCAMPAIGNID, NAME | yes |
Triggers
| Trigger Name | Description |
|---|---|
| TR_FAFNFGCAMPAIGNLEVEL_AUDIT_UPDATE | |
| TR_FAFNFGCAMPAIGNLEVEL_AUDIT_DELETE |
Referenced by
| Referenced by | Field |
|---|---|
| FAFFRIENDLYURLPARAMS | NFGCAMPAIGNLEVELID |
| FAFNFGCAMPAIGNLEVELDISPLAYSITE | NFGCAMPAIGNLEVELID |
| FAFNFGLEVELSUMMARY | ID |
| TEAMEXTENSION | NFGCAMPAIGNLEVELID |