PLANNEDGIFTMEDIALINK (4.0SP17)

This table contains media links belonging to constituents.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

AUTHORID

uniqueidentifier

true

The author of the media link.

PLANNEDGIFTID

uniqueidentifier

false

The planned gift record to which this media link belongs.

PLANNEDGIFTMEDIALINKTYPECODEID

uniqueidentifier

true

FK to PLANNEDGIFTMEDIALINKTYPECODE

ENTEREDBYAPPUSERID

uniqueidentifier

true

FK to APPUSER

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

DATEENTERED

datetime

false

The date the media link was entered.

TITLE

nvarchar(50)

false

''

The title of the media link.

MEDIAURL

UDT_WEBADDRESS

false

''

The web address of the associated document or media.

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_PLANNEDGIFTMEDIALINK_AUTHORID

AUTHORID

False

False

False

IX_PLANNEDGIFTMEDIALINK_DATEADDED

DATEADDED

False

False

True

IX_PLANNEDGIFTMEDIALINK_DATECHANGED

DATECHANGED

False

False

False

IX_PLANNEDGIFTMEDIALINK_PLANNEDGIFTID

PLANNEDGIFTID

False

False

False

PK_PLANNEDGIFTMEDIALINK

ID

True

True

False

Triggers
Trigger Name Description

TR_PLANNEDGIFTMEDIALINK_AUDIT_UPDATE

TR_PLANNEDGIFTMEDIALINK_AUDIT_DELETE