EVENTREGISTRANTPAYMENT (3.0)

Indicates which event registrants have been paid by which revenue detail records.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

PAYMENTID

uniqueidentifier

false

Indicates the revenue detail which paid the event registrant.

REGISTRANTID

uniqueidentifier

false

Indicates the registrant which was paid by the revenue detail.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

APPLICATIONCURRENCYID

uniqueidentifier

true

The currency associated with this record's amount, which matches the base currency of the application.

APPLICATIONEXCHANGERATEID

uniqueidentifier

true

The exchange rate used to convert the transaction amount of the payment to the base amount of the application.

Fields
Field Field Type Null Notes Description

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

AMOUNT

money

false

0

The amount of this application, expressed in the base currency of the registration.

RECEIPTAMOUNT

money

true

0

Indexes
Index Name Field(s) Unique Primary Clustered

IX_EVENTREGISTRANTPAYMENT_APPLICATIONCURRENCYID

APPLICATIONCURRENCYID

False

False

False

IX_EVENTREGISTRANTPAYMENT_APPLICATIONEXCHANGERATEID

APPLICATIONEXCHANGERATEID

False

False

False

IX_EVENTREGISTRANTPAYMENT_DATEADDED

DATEADDED

False

False

True

IX_EVENTREGISTRANTPAYMENT_DATECHANGED

DATECHANGED

False

False

False

IX_EVENTREGISTRANTPAYMENT_PAYMENTID

PAYMENTID

False

False

False

IX_EVENTREGISTRANTPAYMENT_REGISTRANTID

REGISTRANTID

False

False

False

PK_EVENTREGISTRANTPAYMENT

ID

True

True

False

Triggers
Trigger Name Description

TR_EVENTREGISTRANTPAYMENT_INSERTUPDATE_CURRENCY

TR_EVENTREGISTRANTPAYMENT_AUDIT_UPDATE

TR_EVENTREGISTRANTPAYMENT_AUDIT_DELETE