TASKCATALOG

The TASKCATALOG table stores meta data about each task available in the system.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
NAME nvarchar(100) Default = '' The name of the task.
DESCRIPTION nvarchar(max) Default = '' Provides a description of the functionality or purpose of the task.
TASKGROUP nvarchar(100) Default = '' Indicates the group in which this task resides.
TASKSPECXML xml Contains the xml definition from which the task was built.
SEQUENCE int Default = 0 Defines the order in which tasks are presented within a Functional Area.
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
ISFUNCTIONALAREADEFAULT bit Default = 0

Foreign Keys

Foreign Key Field Type Null Notes Description
FUNCTIONALAREAID uniqueidentifier FUNCTIONALAREACATALOG.ID FK to FUNCTIONALAREACATALOG. Indicates the functional area in which this task resides.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT

Indexes

Index Name Fields Unique Primary Clustered
IX_TASKCATALOG_DATEADDED DATEADDED yes
IX_TASKCATALOG_DATECHANGED DATECHANGED
IX_TASKCATALOG_ID_NAVIGATION ID
IX_TASKCATALOG_NAME_FUNCTIONALAREAID NAME, FUNCTIONALAREAID
PK_TASKCATALOG ID yes yes

Triggers

Trigger Name Description
TR_TASKCATALOG_AUDIT_UPDATE
TR_TASKCATALOG_AUDIT_DELETE

Referenced by

Referenced by Field
SYSTEMROLETASK TASKID
USERSETTINGSSEARCHLISTTASKHISTORY TASKCATALOGID