SALESORDERITEMTICKETREGISTRANT

Stores program event registrant information for sales orders.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
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) yes CONVERT(bigint, TS) Numeric representation of the timestamp.
ISHISTORICAL bit Default = 0

Foreign Keys

Foreign Key Field Type Null Notes Description
SALESORDERITEMTICKETID uniqueidentifier SALESORDERITEMTICKET.ID The sales order item ticket record that the registrant is linked to.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
REGISTRANTID uniqueidentifier REGISTRANT.ID The registrant record created from the sales order item ticket.

Indexes

Index Name Fields Unique Primary Clustered
IX_SALESORDERITEMTICKETREGISTRANT_DATEADDED DATEADDED yes
IX_SALESORDERITEMTICKETREGISTRANT_DATECHANGED DATECHANGED
IX_SALESORDERITEMTICKETREGISTRANT_SALESORDERITEMTICKETID SALESORDERITEMTICKETID
PK_SALESORDERITEMTICKETREGISTRANT ID yes yes
UC_SALESORDERITEMTICKETREGISTRANT_REGISTRANTID REGISTRANTID yes

Triggers

Trigger Name Description
TR_SALESORDERITEMTICKETREGISTRANT_AUDIT_UPDATE
TR_SALESORDERITEMTICKETREGISTRANT_AUDIT_DELETE