Primary Key | Field Type |
---|---|
ID | uniqueidentifier |
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) | CASE [STATUSCODE] WHEN 0 THEN N'Active' WHEN 1 THEN N'Completed' END | Provides a translation for the 'STATUSCODE' field. | |
DATECOMPLETED | datetime | 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) | CONVERT(bigint, TS) | Numeric representation of the timestamp. |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
EVENTID | uniqueidentifier | EVENT.ID | FK to EVENT | |
OWNERID | uniqueidentifier | CONSTITUENT.LOCALID | FK to CONSTITUENT | |
ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
IX_EVENTTASK_DATEADDED | DATEADDED | |||
IX_EVENTTASK_DATECHANGED | DATECHANGED | |||
IX_EVENTTASK_EVENTID | EVENTID | |||
IX_EVENTTASK_OWNERID | OWNERID | |||
PK_EVENTTASK | ID |
Trigger Name | Description |
---|---|
TR_EVENTTASK_MARKEVENTTASKOWNERASCONSTITUENT | |
TR_EVENTTASK_AUDIT_UPDATE | |
TR_EVENTTASK_AUDIT_DELETE |
Referenced by | Field |
---|---|
EVENTTASKREMINDER | EVENTTASKID |