PROSPECTASSIGNMENTREQUESTPROSPECTPLAN (4.0SP20)

Holds prospect plan information for assignment requests

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

PROSPECTPLANID

uniqueidentifier

true

A foreign key to the prospect plan for the request.

SECONDARYFUNDRAISERID

uniqueidentifier

true

A foreign key to the secondary fundraiser for the request.

SOLICITORROLECODEID

uniqueidentifier

true

FK to SOLICITORROLECODE

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

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.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_PROSPECTASSIGNMENTREQUESTPROSPECTPLAN_DATEADDED

DATEADDED

False

False

True

IX_PROSPECTASSIGNMENTREQUESTPROSPECTPLAN_DATECHANGED

DATECHANGED

False

False

False

IX_PROSPECTASSIGNMENTREQUESTPROSPECTPLAN_PROSPECTPLANID

PROSPECTPLANID

False

False

False

PK_PROSPECTASSIGNMENTREQUESTPROSPECTPLAN

ID

True

True

False

Triggers
Trigger Name Description

TR_PROSPECTASSIGNMENTREQUESTPROSPECTPLAN_AUDIT_UPDATE

TR_PROSPECTASSIGNMENTREQUESTPROSPECTPLAN_AUDIT_DELETE

TR_PROSPECTASSIGNMENTREQUESTPROSPECTPLAN_AUDIT_ETLDELETEDID