EVENTPRICE
Contains information pertaining to event prices.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| AMOUNT |
money |
|
Default = 0 |
|
| RECEIPTAMOUNT |
money |
|
Default = 0 |
|
| COST |
money |
|
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. |
| NAME |
nvarchar(100) |
|
Default = '' |
|
| REGISTRATIONCOUNT |
int |
|
Default = 0 |
Designates the number of registrants paid for by the event price. |
| ORGANIZATIONAMOUNT |
money |
|
Default = 0 |
The amount in the organization currency. |
| ORGANIZATIONCOST |
money |
|
Default = 0 |
The cost in the organization currency. |
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| EVENTID |
uniqueidentifier |
|
EVENT.ID
|
FK to EVENT |
| EVENTREGISTRATIONTYPEID |
uniqueidentifier |
|
EVENTREGISTRATIONTYPE.ID
|
FK to EVENTREGISTRATIONTYPE |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| ORGANIZATIONEXCHANGERATEID |
uniqueidentifier |
yes |
CURRENCYEXCHANGERATE.ID
|
The exchange rate used to convert to the organization amount. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_EVENTPRICE_DATEADDED |
DATEADDED |
|
|
yes |
| IX_EVENTPRICE_DATECHANGED |
DATECHANGED |
|
|
|
| IX_EVENTPRICE_EVENTID_EVENTREGISTRATIONTYPEID |
EVENTID, EVENTREGISTRATIONTYPEID |
|
|
|
| IX_EVENTPRICE_ORGANIZATIONEXCHANGERATEID |
ORGANIZATIONEXCHANGERATEID |
|
|
|
| PK_EVENTPRICE |
ID |
yes |
yes |
|
| UIX_EVENTPRICE_EVENTID_NAME |
EVENTID, NAME |
yes |
|
|
Triggers
Referenced by