| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
PRICE |
money | Default = 0 | The price of the ticket | |
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. |
PROGRAMNAME |
nvarchar(100) | Default = '' | Name of program at time of sale. | |
PROGRAMCATEGORYNAME |
nvarchar(100) | Default = '' | Program category name at time of sale. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
ID |
uniqueidentifier | SALESORDERITEM.ID | Primary Key. | |
PROGRAMID |
uniqueidentifier | ![]() |
PROGRAM.ID | The program for this ticket |
EVENTID |
uniqueidentifier | ![]() |
EVENT.ID | The event for this ticket. |
PRICETYPECODEID |
uniqueidentifier | PRICETYPECODE.ID | The price type for this ticket. | |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_SALESORDERITEMTICKET_DATEADDED |
DATEADDED | ![]() |
||
IX_SALESORDERITEMTICKET_DATECHANGED |
DATECHANGED | |||
IX_SALESORDERITEMTICKET_EVENTID |
EVENTID | |||
IX_SALESORDERITEMTICKET_PROGRAMID |
PROGRAMID | |||
PK_SALESORDERITEMTICKET |
ID | ![]() |
![]() |
| Trigger Name | Description |
|---|---|
TR_SALESORDERITEMTICKET_MARKASCONSTITUENT |
|
TR_SALESORDERITEMTICKET_AUDIT_UPDATE |
|
TR_SALESORDERITEMTICKET_AUDIT_DELETE |
| Referenced by | Field |
|---|---|
SALESORDERITEMTICKETCOMBINATION |
ID |
SALESORDERITEMTICKETREGISTRANT |
SALESORDERITEMTICKETID |
TICKET |
SALESORDERITEMTICKETID |

ID
PRICE
TSLONG
ID
IX_SALESORDERITEMTICKET_DATEADDED
IX_SALESORDERITEMTICKET_DATECHANGED