OPPORTUNITYSOLICITOR
Primary Key
| Primary Key | Field Type | 
|---|---|
| ID | uniqueidentifier | 
Fields
| Field | Field Type | Null | Notes | Description | 
|---|---|---|---|---|
| FUNDRAISERTYPECODE | tinyint | Default = 0 | ||
| FUNDRAISERTYPE | nvarchar(19) (Computed) | yes | CASE [FUNDRAISERTYPECODE] WHEN 0 THEN N'Primary manager' WHEN 1 THEN N'Secondary manager' WHEN 2 THEN N'Secondary solicitor' END | |
| DATEADDED | datetime | Default = getdate() | ||
| DATECHANGED | datetime | Default = getdate() | ||
| TS | timestamp | |||
| TSLONG | bigint (Computed) | yes | CONVERT(bigint, TS) | 
Foreign Keys
| Foreign Key | Field Type | Null | Notes | Description | 
|---|---|---|---|---|
| OPPORTUNITYID | uniqueidentifier | OPPORTUNITY.ID | ||
| SECONDARYSOLICITORID | uniqueidentifier | yes | SECONDARYFUNDRAISER.ID | |
| ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | ||
| CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID | 
Indexes
| Index Name | Fields | Unique | Primary | Clustered | 
|---|---|---|---|---|
| IX_OPPORTUNITYSOLICITOR_DATEADDED | DATEADDED | yes | ||
| IX_OPPORTUNITYSOLICITOR_DATECHANGED | DATECHANGED | |||
| IX_OPPORTUNITYSOLICITOR_OPPORTUNITYID | OPPORTUNITYID | |||
| PK_OPPORTUNITYSOLICITOR | ID | yes | yes | 
Triggers
| Trigger Name | Description | 
|---|---|
| TR_OPPORTUNITYSOLICITOR_AUDIT_UPDATE | |
| TR_OPPORTUNITYSOLICITOR_AUDIT_DELETE |