PROSPECTASSIGNMENTREQUEST (4.0SP14)

Holds Prospect Assignment Requests

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

NEWFUNDRAISERID

uniqueidentifier

true

A foreign key to the proposed fundraiser ID.

REVIEWEDBYID

uniqueidentifier

true

App user who reviewed request.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

SUBMITTEDBYID

uniqueidentifier

false

App user who requested the change.

Fields
Field Field Type Null Notes Description

TYPECODE

tinyint

false

0

The type of request.

STATUSCODE

tinyint

false

0

The status of request.

REVIEWDATE

datetime

true

Date request was reviewed.

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.

TYPE

nvarchar(20) (Computed)

true

Provides a translation for the 'TYPECODE' field.

STATUS

nvarchar(8) (Computed)

true

Provides a translation for the 'STATUSCODE' field.

STARTDATE

datetime

true

Requested start date for the fundraiser.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_PROSPECTASSIGNMENTREQUEST_DATEADDED

DATEADDED

False

False

True

IX_PROSPECTASSIGNMENTREQUEST_DATECHANGED

DATECHANGED

False

False

False

IX_PROSPECTASSIGNMENTREQUEST_NEWFUNDRAISERID

NEWFUNDRAISERID

False

False

False

PK_PROSPECTASSIGNMENTREQUEST

ID

True

True

False

Triggers
Trigger Name Description

TR_PROSPECTASSIGNMENTREQUEST_AUDIT_UPDATE

TR_PROSPECTASSIGNMENTREQUEST_AUDIT_DELETE

Referenced by
Referenced by Field

PROSPECTASSIGNMENTREQUESTPROSPECT

ID

PROSPECTASSIGNMENTREQUESTPROSPECTPLAN

ID