Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 NAME nvarchar(100)   Default = ''
 DESCRIPTION nvarchar(255)   Default = ''
 MACHINENAME nvarchar(255)   Default = '' The unique machine name on the network
 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.
 CASHDRAWEROPENCOMMAND nvarchar(50)   Default = ''

Foreign Key Field Type Null Notes Description
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CASHDRAWERPRINTERID uniqueidentifier WORKSTATIONPRINTER.ID FK to WORKSTATIONPRINTER

Index Name Field(s) Unique Primary Clustered
 IX_WORKSTATION_DATEADDED DATEADDED    
 IX_WORKSTATION_DATECHANGED DATECHANGED      
 PK_WORKSTATION ID  
 UC_WORKSTATION_MACHINENAME MACHINENAME    
 UC_WORKSTATION_NAME NAME    

Trigger Name Description
 TR_WORKSTATION_AUDIT_UPDATE
 TR_WORKSTATION_AUDIT_DELETE

Referenced by Field
 DOCUMENTPRINTINGHISTORY WORKSTATIONID
 TICKETPRINTINFO WORKSTATIONID
 WORKSTATIONCASHDRAWEROPEN WORKSTATIONID
 WORKSTATIONCASHDRAWERPAYMENTMETHOD WORKSTATIONID
 WORKSTATIONPRINTER WORKSTATIONID

Entity-Relationship diagram of this table