ACTIONITEMPART

Action Item Part

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
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.

Foreign Keys

Foreign Key Field Type Null Notes Description
ACTIONITEMID uniqueidentifier ACTION_ITEM.ID Action Item ID
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_ACTIONITEMPART_ACTIONITEMID ACTIONITEMID
IX_ACTIONITEMPART_DATEADDED DATEADDED yes
IX_ACTIONITEMPART_DATECHANGED DATECHANGED
PK_ACTIONITEMPART ID yes yes

Triggers

Trigger Name Description
TR_ACTIONITEMPART_AUDIT_UPDATE
TR_ACTIONITEMPART_AUDIT_DELETE