BATCHREVENUEREGISTRANTREGISTRATION

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(50) 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.

Foreign Keys

Foreign Key Field Type Null Notes Description
REGISTRANTID uniqueidentifier BATCHREVENUEREGISTRANT.ID FK to BATCHREVENUEREGISTRANT
EVENTPRICEID uniqueidentifier EVENTPRICE.ID FK to EVENTPRICE
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_BATCHREVENUEREGISTRANTREGISTRATION_DATEADDED DATEADDED yes
IX_BATCHREVENUEREGISTRANTREGISTRATION_DATECHANGED DATECHANGED
IX_BATCHREVENUEREGISTRANTREGISTRATION_EVENTPRICEID EVENTPRICEID
IX_BATCHREVENUEREGISTRANTREGISTRATION_REGISTRANTID REGISTRANTID
PK_BATCHREVENUEREGISTRANTREGISTRATION ID yes yes

Triggers

Trigger Name Description
TR_BATCHREVENUEREGISTRANTREGISTRATION_AUDIT_UPDATE
TR_BATCHREVENUEREGISTRANTREGISTRATION_AUDIT_DELETE

Referenced by

Referenced by Field
BATCHREVENUEREGISTRANTREGISTRATIONMAP REGISTRANTREGISTRATIONID