REGISTRANTREGISTRATION

Contains information pertaining to registrant registration fees.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
QUANTITY int Default = 0 The number of units purchased.
AMOUNT money Default = 0
RECEIPTAMOUNT money Default = 0
DATEPURCHASED datetime yes
NETCOMMUNITYPAGENAME nvarchar(1000) Default = '' Name of the Blackbaud Internet Solutions page from which this registration originated if it came from NetCommunity.
NETCOMMUNITYPAGEID int Default = 0 ID of the Blackbaud Internet Solutions page from which this registration originated if it came from NetCommunity.
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.
ORGANIZATIONAMOUNT money Default = 0 The amount in the organization currency.

Foreign Keys

Foreign Key Field Type Null Notes Description
REGISTRANTID uniqueidentifier REGISTRANT.ID FK to REGISTRANT
EVENTPRICEID uniqueidentifier EVENTPRICE.ID FK to EVENTPRICE
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_REGISTRANTREGISTRATION_DATEADDED DATEADDED yes
IX_REGISTRANTREGISTRATION_DATECHANGED DATECHANGED
IX_REGISTRANTREGISTRATION_EVENTPRICEID EVENTPRICEID
IX_REGISTRANTREGISTRATION_ORGANIZATIONEXCHANGERATEID ORGANIZATIONEXCHANGERATEID
IX_REGISTRANTREGISTRATION_REGISTRANTID REGISTRANTID
PK_REGISTRANTREGISTRATION ID yes yes

Triggers

Trigger Name Description
TR_REGISTRANTREGISTRATION_AUDIT_UPDATE
TR_REGISTRANTREGISTRATION_AUDIT_DELETE
TR_REGISTRANTREGISTRATION_INSERTUPDATE_CURRENCY

Referenced by

Referenced by Field
REGISTRANTREGISTRATIONMAP REGISTRANTREGISTRATIONID