EVENTREGISTRANTPAYMENT
Indicates which event registrants have been paid by which revenue detail records.
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. |
AMOUNT |
money |
|
Default = 0 |
The amount of this application, expressed in the base currency of the registration. |
RECEIPTAMOUNT |
money |
yes |
Default = 0 |
|
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
PAYMENTID |
uniqueidentifier |
|
FINANCIALTRANSACTIONLINEITEM.ID
|
Indicates the revenue detail which paid the event registrant. |
REGISTRANTID |
uniqueidentifier |
|
REGISTRANT.ID
|
Indicates the registrant which was paid by the revenue detail. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
APPLICATIONCURRENCYID |
uniqueidentifier |
yes |
CURRENCY.ID
|
The currency associated with this record's amount, which matches the base currency of the application. |
APPLICATIONEXCHANGERATEID |
uniqueidentifier |
yes |
CURRENCYEXCHANGERATE.ID
|
The exchange rate used to convert the transaction amount of the payment to the base amount of the application. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_EVENTREGISTRANTPAYMENT_APPLICATIONCURRENCYID |
APPLICATIONCURRENCYID |
|
|
|
IX_EVENTREGISTRANTPAYMENT_APPLICATIONEXCHANGERATEID |
APPLICATIONEXCHANGERATEID |
|
|
|
IX_EVENTREGISTRANTPAYMENT_DATEADDED |
DATEADDED |
|
|
yes |
IX_EVENTREGISTRANTPAYMENT_DATECHANGED |
DATECHANGED |
|
|
|
IX_EVENTREGISTRANTPAYMENT_PAYMENTID |
PAYMENTID |
|
|
|
IX_EVENTREGISTRANTPAYMENT_REGISTRANTID |
REGISTRANTID |
|
|
|
PK_EVENTREGISTRANTPAYMENT |
ID |
yes |
yes |
|
Triggers