PLEDGEGIFTFEEOVERRIDE

This table contains gift fee override details for pledges

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
USECUSTOM bit Default = 0 If true then use the custom fee percentage
CUSTOMFEE decimal(5, 1) Default = 0
WAIVEFEE bit Default = 0
COMMENTS nvarchar(255) Default = '' Comments for this override.
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
ID uniqueidentifier FINANCIALTRANSACTION.ID Primary Key.
REASONCODEID uniqueidentifier yes GIFTFEEOVERRIDEREASONCODE.ID FK to GIFTFEEOVERRIDEREASONCODE
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_PLEDGEGIFTFEEOVERRIDE_DATEADDED DATEADDED yes
IX_PLEDGEGIFTFEEOVERRIDE_DATECHANGED DATECHANGED
PK_PLEDGEGIFTFEEOVERRIDE ID yes yes

Triggers

Trigger Name Description
TR_PLEDGEGIFTFEEOVERRIDE_AUDIT_UPDATE
TR_PLEDGEGIFTFEEOVERRIDE_AUDIT_DELETE