Primary Key | Field Type |
---|---|
![]() |
uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
money | Default = 0 | The price of the ticket | |
![]() |
tinyint | Default = 0 | Specifies the particular state of a ticket. | |
![]() |
bit | Default = 1 | Describes whether the ticket is active. | |
![]() |
datetime | Default = getdate() | Indicates the date this record was added. | |
![]() |
datetime | Default = getdate() | Indicates the date this record was last changed. | |
![]() |
timestamp | Timestamp. | ||
![]() |
bigint (Computed) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
![]() |
bigint (Computed) | ![]() |
dbo.UFN_TICKET_GETTICKETNUMBER(ID) | The event specific ticket number. |
![]() |
nvarchar(9) (Computed) | ![]() |
CASE [STATUSCODE] WHEN 0 THEN N'Active' WHEN 1 THEN N'Reserved' WHEN 2 THEN N'Refunded' WHEN 3 THEN N'Exchanged' END | Provides a translation for the 'STATUSCODE' field. |
![]() |
bit | Default = 0 | Describes whether the ticket has been applied to a membership. | |
![]() |
datetimeoffset | ![]() |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
uniqueidentifier | ![]() |
EVENT.ID | ID of the event in which the ticket is linked. |
![]() |
uniqueidentifier | PRICETYPECODE.ID | The ID of the Price Type that belongs to the Ticket. | |
![]() |
uniqueidentifier | ![]() |
HOLD.ID | The entity that is holding the ticket. |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | ![]() |
SALESORDERITEMTICKET.ID | The order ticket that created this ticket. |
![]() |
uniqueidentifier | ![]() |
PROGRAM.ID | The program of this ticket. |
![]() |
uniqueidentifier | ![]() |
SALESORDER.ID | The sales order that ticket has been applied to. |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
![]() |
DATEADDED | ![]() |
||
![]() |
DATECHANGED | |||
![]() |
EVENTID | |||
![]() |
SALESORDERITEMTICKETID | |||
![]() |
ID | ![]() |
![]() |
Trigger Name | Description |
---|---|
![]() |
|
![]() |
Referenced by | Field |
---|---|
![]() |
TICKETID |
![]() |
TICKETID |
![]() |
TICKETID |