Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 SUBJECT nvarchar(100)   Default = '' A short description of the task.
 NOTES nvarchar(max)   Default = ''
 DUEDATE UDT_FUZZYDATE   Default = '00000000' The date the task should be completed by.
 DATECOMPLETED datetime The date on which the task was completed.
 MARKETINGPLANTASKSTATUSCODE tinyint   Default = 0 The status of the current task
 OWNER nvarchar(100)   Default = '' The person who will be responsible for this task. This field is used by clients that do not have an Infinity powered CRM system.
 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.
 MARKETINGPLANTASKSTATUS nvarchar(9) (Computed) CASE [MARKETINGPLANTASKSTATUSCODE] WHEN 0 THEN N'Active' WHEN 1 THEN N'Completed' END Provides a translation for the 'MARKETINGPLANTASKSTATUSCODE' field.

Foreign Key Field Type Null Notes Description
 MARKETINGPLANITEMID uniqueidentifier MKTMARKETINGPLANITEM.ID The parent ID for this level; null for the top-most level.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 OWNERID uniqueidentifier CONSTITUENT.LOCALID The staff member who will be responsible for this task. This field is used by clients that have an Infinity powered CRM system.

Index Name Field(s) Unique Primary Clustered
 IX_MKTMARKETINGPLANITEMTASK_DATEADDED DATEADDED    
 IX_MKTMARKETINGPLANITEMTASK_DATECHANGED DATECHANGED      
 IX_MKTMARKETINGPLANITEMTASK_MARKETINGPLANITEMID MARKETINGPLANITEMID      
 IX_MKTMARKETINGPLANITEMTASK_OWNERID OWNERID      
 PK_MKTMARKETINGPLANITEMTASK ID  

Trigger Name Description
 TR_MKTMARKETINGPLANITEMTASK_AUDIT_UPDATE
 TR_MKTMARKETINGPLANITEMTASK_AUDIT_DELETE

Entity-Relationship diagram of this table