BATCHBBNCDONATIONGIFTAPPLICATION

Stores gift applications for Blackbaud Internet Solutions donation transaction batch information.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
SEQUENCE int Default = 0
APPLIEDAMOUNT money Default = 0
OVERPAYMENTTYPECODE tinyint Default = 1 Holds the overpayment behavior for this application, default is 1 (pay next installment)
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.
APPLICATIONCODE tinyint Default = 0 Holds the application code for this application. For eg. Pledge payment, Recurring gift installment

Foreign Keys

Foreign Key Field Type Null Notes Description
BATCHBBNCDONATIONID uniqueidentifier yes BATCHBBNCDONATION.ID FK to BATCHBBNCDONATION
APPLICATIONID uniqueidentifier FINANCIALTRANSACTION.ID FK to REVENUE
CONSTITUENTID uniqueidentifier CONSTITUENT.LOCALID FK to CONSTITUENT
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_BATCHBBNCDONATIONGIFTAPPLICATION_APPLICATIONID APPLICATIONID
IX_BATCHBBNCDONATIONGIFTAPPLICATION_CONSTITUENTID CONSTITUENTID
IX_BATCHBBNCDONATIONGIFTAPPLICATION_DATEADDED DATEADDED yes
IX_BATCHBBNCDONATIONGIFTAPPLICATION_DATECHANGED DATECHANGED
PK_BATCHBBNCDONATIONGIFTAPPLICATION ID yes yes

Triggers

Trigger Name Description
TR_BATCHBBNCDONATIONGIFTAPPLICATION_AUDIT_UPDATE
TR_BATCHBBNCDONATIONGIFTAPPLICATION_AUDIT_DELETE