BATCHEVENT
Stores batch event information.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
SEQUENCE |
int |
|
Default = 0 |
|
NAME |
nvarchar(100) |
|
Default = '' |
|
DESCRIPTION |
nvarchar(255) |
|
Default = '' |
|
STARTDATE |
date |
|
|
|
STARTTIME |
UDT_HOURMINUTE |
|
Default = '' |
|
ENDDATE |
date |
yes |
|
|
ENDTIME |
UDT_HOURMINUTE |
|
Default = '' |
|
CAPACITY |
int |
|
Default = 0 |
|
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. |
CUSTOMID |
nvarchar(100) |
|
Default = '' |
|
CUSTOMIDENTIFIER |
nvarchar(100) |
|
Default = '' |
User-definable custom identifier. |
SEQUENCEID |
int |
|
|
Identity column used to increment the default lookupid. |
LOOKUPID |
nvarchar(100) (Computed) |
yes |
(CASE LEN(CUSTOMIDENTIFIER) WHEN 0 THEN '8-' + CAST(SEQUENCEID AS nvarchar(20)) ELSE CUSTOMIDENTIFIER END) |
Unique identifier that supports user defined values as well as system generated values. |
HIDEFROMCALENDAR |
bit |
|
Default = 0 |
Determines if this event should be hidden from the event calendar. |
DESIGNATIONSONFEES |
bit |
|
Default = 0 |
Determines if this event allows designations on fees. |
Foreign Keys
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_BATCHEVENT_DATEADDED |
DATEADDED |
|
|
yes |
IX_BATCHEVENT_DATECHANGED |
DATECHANGED |
|
|
|
IX_BATCHEVENT_EVENTLOCATIONCONTACTID |
EVENTLOCATIONCONTACTID |
|
|
|
PK_BATCHEVENT |
ID |
yes |
yes |
|
UC_BATCHEVENT_LOOKUPID |
LOOKUPID |
yes |
|
|
Triggers
Referenced by