SALESORDERITEMEVENTREGISTRANTREGISTRATION
Stores static registration data with respect to when the registration was added to the order.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
QUANTITY |
int |
|
Default = 0 |
The number of guests in the registration at this price. |
AMOUNT |
money |
|
Default = 0 |
The amount paid for this number of guests at this price. |
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. |
Foreign Keys
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_SALESORDERITEMEVENTREGISTRANTREGISTRATION_DATEADDED |
DATEADDED |
|
|
yes |
IX_SALESORDERITEMEVENTREGISTRANTREGISTRATION_DATECHANGED |
DATECHANGED |
|
|
|
IX_SALESORDERITEMEVENTREGISTRANTREGISTRATION_SALESORDERITEMEVENTREGISTRATIONID |
SALESORDERITEMEVENTREGISTRATIONID |
|
|
|
PK_SALESORDERITEMEVENTREGISTRANTREGISTRATION |
ID |
yes |
yes |
|
Triggers