Primary Key | Field Type |
---|---|
ID | uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
ISPRIMARYMANAGER | bit | Default = 1 | True if the fundraiser is the primary manager on the plan. Otherwise, the fundraiser is the secondary manager. | |
DATEFROM | datetime | The date that the fundraiser became associated with the prospect plan. | ||
DATETO | datetime | The date that the fundraiser ceased to be associated with the prospect plan. | ||
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. |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
PROSPECTPLANID | uniqueidentifier | PROSPECTPLAN.ID | FK to PROSPECTPLAN | |
FUNDRAISERID | uniqueidentifier | CONSTITUENT.LOCALID | FK to CONSTITUENT | |
ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
IX_PROSPECTPLANMANAGERHISTORY_DATEADDED | DATEADDED | |||
IX_PROSPECTPLANMANAGERHISTORY_DATECHANGED | DATECHANGED | |||
IX_PROSPECTPLANMANAGERHISTORY_FUNDRAISERID | FUNDRAISERID | |||
IX_PROSPECTPLANMANAGERHISTORY_PROSPECTPLANID | PROSPECTPLANID | |||
PK_PROSPECTPLANMANAGERHISTORY | ID |
Trigger Name | Description |
---|---|
TR_PROSPECTPLANMANAGERHISTORY_AUDIT_UPDATE | |
TR_PROSPECTPLANMANAGERHISTORY_AUDIT_DELETE |