EVENTTASK (4.0SP17)

Contains information pertaining to an event task.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

EVENTID

uniqueidentifier

false

FK to EVENT

OWNERID

uniqueidentifier

true

FK to CONSTITUENT

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

NAME

nvarchar(100)

false

''

COMPLETEBYDATE

datetime

false

Deadline date of the event task.

STATUSCODE

tinyint

false

0

0=Active, 1=Completed

STATUS

nvarchar(9) (Computed)

true

Provides a translation for the 'STATUSCODE' field.

DATECOMPLETED

datetime

true

Completion date of the event task.

COMMENT

nvarchar(250)

false

''

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_EVENTTASK_DATEADDED

DATEADDED

False

False

True

IX_EVENTTASK_DATECHANGED

DATECHANGED

False

False

False

IX_EVENTTASK_EVENTID

EVENTID

False

False

False

IX_EVENTTASK_OWNERID

OWNERID

False

False

False

PK_EVENTTASK

ID

True

True

False

Triggers
Trigger Name Description

TR_EVENTTASK_AUDIT_UPDATE

TR_EVENTTASK_AUDIT_DELETE

TR_EVENTTASK_MARKEVENTTASKOWNERASCONSTITUENT

Referenced by
Referenced by Field

EVENTTASKREMINDER

EVENTTASKID