BATCHEVENTREGISTRANT
Stores event registrant batch information.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
SEQUENCE |
int |
|
Default = 0 |
|
DATEPURCHASED |
date |
yes |
|
|
REGISTRANTSTATUSCODE |
tinyint |
|
Default = 0 |
0=Registered, 1=Registered (will not attend), 2=Attended, 3=Cancelled |
REGISTRANTSTATUS |
nvarchar(28) (Computed) |
yes |
CASE [REGISTRANTSTATUSCODE] WHEN 0 THEN N'Registered' WHEN 1 THEN N'Registered (will not attend)' WHEN 2 THEN N'Attended' WHEN 3 THEN N'Cancelled' END |
Provides a translation for the 'REGISTRANTSTATUSCODE' field. |
WAIVEBENEFITS |
bit |
|
Default = 0 |
|
QUANTITY |
int |
|
Default = 1 |
|
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. |
REGISTRANTLOOKUPID |
nvarchar(100) |
|
Default = '' |
|
ISWALKIN |
bit |
|
Default = 0 |
Indicates whether this registrant was a walk-in or if they preregistered. |
REGISTRATIONSTATUSCODE |
tinyint |
|
Default = 0 |
0=Registered, 1=Registered (will not attend), 2=Canceled |
REGISTRATIONATTENDEDCODE |
tinyint |
|
Default = 0 |
0=, 1=Yes, 2=No, 3=No show |
REGISTRATIONATTENDED |
nvarchar(7) (Computed) |
yes |
CASE [REGISTRATIONATTENDEDCODE] WHEN 0 THEN N'' WHEN 1 THEN N'Yes' WHEN 2 THEN N'No' WHEN 3 THEN N'No show' END |
Provides a translation for the 'REGISTRATIONATTENDEDCODE' field. |
REGISTRATIONSTATUS |
nvarchar(28) (Computed) |
yes |
CASE [REGISTRATIONSTATUSCODE] WHEN 0 THEN N'Registered' WHEN 1 THEN N'Registered (will not attend)' WHEN 2 THEN N'Canceled' END |
Provides a translation for the 'REGISTRATIONSTATUSCODE' field. |
Foreign Keys
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_BATCHEVENTREGISTRANT_CONSTITUENTID |
CONSTITUENTID |
|
|
|
IX_BATCHEVENTREGISTRANT_DATEADDED |
DATEADDED |
|
|
yes |
IX_BATCHEVENTREGISTRANT_DATECHANGED |
DATECHANGED |
|
|
|
PK_BATCHEVENTREGISTRANT |
ID |
yes |
yes |
|
Triggers
Referenced by