BATCHREVENUEREGISTRANT

Stores event registrations which have payments applied to them in revenue batch.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
CONSTITUENTID uniqueidentifier yes
ATTENDED bit Default = 0 Designates whether or not the registrant attended the event.
WILLNOTATTEND bit Default = 0 Designates whether or not the registrant will attend or is only registered to allow guests.
EVENTSEATINGNOTE nvarchar(250) Default = ''
BENEFITSWAIVED bit Default = 0 Indicates if this registrant has waived benefits.
ONLINEREGISTRANT bit Default = 0 Indicates if this registrant registered through Blackbaud Internet Solutions.
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.
BATCHID uniqueidentifier
ISWALKIN bit Default = 0

Foreign Keys

Foreign Key Field Type Null Notes Description
EVENTID uniqueidentifier EVENT.ID FK to EVENT
GUESTOFREGISTRANTID uniqueidentifier yes BATCHREVENUEREGISTRANT.ID Indicates that this registrant is a guest of another registrant.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_BATCHREVENUEREGISTRANT_CONSTITUENTID CONSTITUENTID
IX_BATCHREVENUEREGISTRANT_DATEADDED DATEADDED yes
IX_BATCHREVENUEREGISTRANT_DATECHANGED DATECHANGED
IX_BATCHREVENUEREGISTRANT_EVENTID EVENTID
IX_BATCHREVENUEREGISTRANT_GUESTOFREGISTRANTID GUESTOFREGISTRANTID
PK_BATCHREVENUEREGISTRANT ID yes yes

Triggers

Trigger Name Description
TR_BATCHREVENUEREGISTRANT_AUDIT_UPDATE
TR_BATCHREVENUEREGISTRANT_AUDIT_DELETE

Referenced by

Referenced by Field
BATCHREVENUEAPPLICATION BATCHREVENUEREGISTRANTID
BATCHREVENUEREGISTRANTBENEFIT REGISTRANTID
BATCHREVENUEREGISTRANTPREFERENCE REGISTRANTID
BATCHREVENUEREGISTRANTREGISTRATION REGISTRANTID
BATCHREVENUEREGISTRANTREGISTRATIONMAP REGISTRANTID