Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 NAME nvarchar(100)   Default = ''
 ISINACTIVE bit   Default = 0 Indicates whether or not the record is inactive.
 SORTMETHODCODE tinyint   Default = 0 Sort Method
 SORTMETHOD nvarchar(12) (Computed) CASE [SORTMETHODCODE] WHEN 0 THEN N'Alpha' WHEN 1 THEN N'User-Defined' END Provides a translation for the 'SORTMETHODCODE' field.
 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
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_INTERACTIONCATEGORY_DATEADDED DATEADDED    
 IX_INTERACTIONCATEGORY_DATECHANGED DATECHANGED      
 PK_INTERACTIONCATEGORY ID  
 UIX_INTERACTIONCATEGORY_NAME NAME    

Trigger Name Description
 TR_INTERACTIONCATEGORY_AUDIT_UPDATE
 TR_INTERACTIONCATEGORY_AUDIT_DELETE

Referenced by Field
 BATCHINTERACTION INTERACTIONCATEGORYID
 INTERACTIONSUBCATEGORY INTERACTIONCATEGORYID

Entity-Relationship diagram of this table