Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 TICKETCOMBINATIONID uniqueidentifier   The combination of tickets
 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
 ID uniqueidentifier   SALESORDERITEMTICKET.ID Primary Key.
 COMBINATIONID uniqueidentifier COMBINATION.ID The combination of events
 PROGRAMGROUPID uniqueidentifier PROGRAMGROUP.ID The program group of combination
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_SALESORDERITEMTICKETCOMBINATION_DATEADDED DATEADDED    
 IX_SALESORDERITEMTICKETCOMBINATION_DATECHANGED DATECHANGED      
 PK_SALESORDERITEMTICKETCOMBINATION ID  
 UIX_SALESORDERITEMTICKETCOMBINATION_ID_COMBINATIONID_PROGRAMGROUPID_TICKETCOMBINATIONID ID, COMBINATIONID, PROGRAMGROUPID, TICKETCOMBINATIONID    

Trigger Name Description
 TR_SALESORDERITEMTICKETCOMBINATION_AUDIT_UPDATE
 TR_SALESORDERITEMTICKETCOMBINATION_AUDIT_DELETE

Entity-Relationship diagram of this table