RESCHEDULETICKETSHISTORY

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
RESCHEDULEDDATE datetime yes
DATEADDED datetime Default = getdate()
DATECHANGED datetime Default = getdate()
TS timestamp
TSLONG bigint (Computed) yes CONVERT(bigint, TS)

Foreign Keys

Foreign Key Field Type Null Notes Description
SALESORDERITEMTICKETID uniqueidentifier yes SALESORDERITEMTICKET.ID
TICKETID uniqueidentifier yes TICKET.ID
PREVIOUSEVENTID uniqueidentifier yes EVENT.ID
RESCHEDULEDBYID uniqueidentifier yes APPUSER.ID
ADDEDBYID uniqueidentifier CHANGEAGENT.ID
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID

Indexes

Index Name Fields Unique Primary Clustered
IX_RESCHEDULETICKETSHISTORY_DATEADDED DATEADDED yes
IX_RESCHEDULETICKETSHISTORY_DATECHANGED DATECHANGED
PK_RESCHEDULETICKETSHISTORY ID yes yes

Triggers

Trigger Name Description
TR_RESCHEDULETICKETSHISTORY_AUDIT_UPDATE
TR_RESCHEDULETICKETSHISTORY_AUDIT_DELETE