EVENTTASK
Contains information pertaining to an event task.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
NAME |
nvarchar(100) |
|
Default = '' |
|
COMPLETEBYDATE |
datetime |
|
|
Deadline date of the event task. |
STATUSCODE |
tinyint |
|
Default = 0 |
0=Active, 1=Completed |
STATUS |
nvarchar(9) (Computed) |
yes |
CASE [STATUSCODE] WHEN 0 THEN N'Active' WHEN 1 THEN N'Completed' END |
Provides a translation for the 'STATUSCODE' field. |
DATECOMPLETED |
datetime |
yes |
|
Completion date of the event task. |
COMMENT |
nvarchar(250) |
|
Default = '' |
|
DATEADDED |
datetime |
|
Default = getdate() |
Indicates the date this record was added. |
DATECHANGED |
datetime |
|
Default = getdate() |
Indicates the date this record was last changed. |
TS |
timestamp |
|
|
Timestamp. |
TSLONG |
bigint (Computed) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
EVENTID |
uniqueidentifier |
|
EVENT.ID
|
FK to EVENT |
OWNERID |
uniqueidentifier |
yes |
CONSTITUENT.LOCALID
|
FK to CONSTITUENT |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_EVENTTASK_DATEADDED |
DATEADDED |
|
|
yes |
IX_EVENTTASK_DATECHANGED |
DATECHANGED |
|
|
|
IX_EVENTTASK_EVENTID |
EVENTID |
|
|
|
IX_EVENTTASK_OWNERID |
OWNERID |
|
|
|
PK_EVENTTASK |
ID |
yes |
yes |
|
Triggers
Referenced by