BATCHTICKETPRINTJOB

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
PRINTERNAME nvarchar(255) Default = ''
PRINTDATEWITHTIMEOFFSET datetimeoffset
DATEADDED datetime Default = getdate()
DATECHANGED datetime Default = getdate()
TS timestamp
TSLONG bigint (Computed) yes CONVERT(bigint, TS)
GROUPBYCODE tinyint Default = 0
GROUPBY nvarchar(6) (Computed) yes CASE [GROUPBYCODE] WHEN 0 THEN N'Event' WHEN 1 THEN N'Patron' END
ISPRINTED bit Default = 0

Foreign Keys

Foreign Key Field Type Null Notes Description
ADDEDBYID uniqueidentifier CHANGEAGENT.ID
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID
DOCUMENTID uniqueidentifier yes DOCUMENT.ID
DELIVERYMETHODID uniqueidentifier yes DELIVERYMETHOD.ID
APPUSERID uniqueidentifier yes APPUSER.ID

Indexes

Index Name Fields Unique Primary Clustered
IX_BATCHTICKETPRINTJOB_DATEADDED DATEADDED yes
IX_BATCHTICKETPRINTJOB_DATECHANGED DATECHANGED
IX_BATCHTICKETPRINTJOB_PRINTDATEWITHTIMEOFFSET PRINTDATEWITHTIMEOFFSET
PK_BATCHTICKETPRINTJOB ID yes yes

Triggers

Trigger Name Description
TR_BATCHTICKETPRINTJOB_AUDIT_UPDATE
TR_BATCHTICKETPRINTJOB_AUDIT_DELETE

Referenced by

Referenced by Field
BATCHTICKETPRINTJOBTICKETLINK BATCHTICKETPRINTJOBID