INTERACTIONSUBCATEGORY (4.0SP20)

Contains interaction subcategories.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

INTERACTIONCATEGORYID

uniqueidentifier

false

FK to INTERACTIONCATEGORY

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

NAME

nvarchar(100)

false

''

SEQUENCE

int

false

0

Stores the user-defined sequence for subcategory.

ISINACTIVE

bit

false

0

Indicates whether or not the record is active.

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_INTERACTIONSUBCATEGORY_DATEADDED

DATEADDED

False

False

True

IX_INTERACTIONSUBCATEGORY_DATECHANGED

DATECHANGED

False

False

False

PK_INTERACTIONSUBCATEGORY

ID

True

True

False

UIX_INTERACTIONSUBCATEGORY_INTERACTIONCATEGORYID_NAME

INTERACTIONCATEGORYID

NAME

True

False

False

Triggers
Trigger Name Description

TR_INTERACTIONSUBCATEGORY_T2BDELETE

TR_INTERACTIONSUBCATEGORY_AUDIT_ETLDELETEDID

TR_INTERACTIONSUBCATEGORY_AUDIT_UPDATE

TR_INTERACTIONSUBCATEGORY_AUDIT_DELETE

Referenced by
Referenced by Field

BATCHINTERACTION

INTERACTIONSUBCATEGORYID

INTERACTION

INTERACTIONSUBCATEGORYID