PROSPECTRESEARCHTEMPLATEDEFAULT (4.0SP17)

Contains app users default Prospect Reasearch report template.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

PROSPECTRESEARCHTEMPLATEID

uniqueidentifier

false

FK to PROSPECTRESEARCHTEMPLATE

OWNERID

uniqueidentifier

true

FK to APPUSER

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_PROSPECTRESEARCHTEMPLATEDEFAULT_DATEADDED

DATEADDED

False

False

True

IX_PROSPECTRESEARCHTEMPLATEDEFAULT_DATECHANGED

DATECHANGED

False

False

False

PK_PROSPECTRESEARCHTEMPLATEDEFAULT

ID

True

True

False

UIX_PROSPECTRESEARCHTEMPLATEDEFAULT_PROSPECTRESEARCHTEMPLATEID_OWNERID

PROSPECTRESEARCHTEMPLATEID

OWNERID

True

False

False

Triggers
Trigger Name Description

TR_PROSPECTRESEARCHTEMPLATEDEFAULT_AUDIT_UPDATE

TR_PROSPECTRESEARCHTEMPLATEDEFAULT_AUDIT_DELETE