PLEDGEREMINDERSENT

This table stores information pertaining to pledge reminders that have been sent.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
CREATEDON datetime Default = getdate() The date on which the pledge reminder was created
AMOUNTDUEDATE datetime The date on which the pledge amount due was calculated
AMOUNTDUE money Default = 0 The pledge amount due as of the amount due date
SENTDATE datetime yes Date reminder was sent.
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
REVENUEID uniqueidentifier FINANCIALTRANSACTION.ID Unique identifier of the revenue record for which the pledge reminder was sent
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
PLEDGEREMINDERPROCESSSTATUSID uniqueidentifier yes PLEDGEREMINDERPROCESSSTATUS.ID A foreign key to the PLEDGEREMINDERPROCESSSTATUS table.
BASECURRENCYID uniqueidentifier yes CURRENCY.ID The base currency of the pledge amount due.
PACKAGEID uniqueidentifier yes MKTPACKAGE.ID
MKTSEGMENTATIONACTIVATEPROCESSSTATUSID uniqueidentifier yes MKTSEGMENTATIONACTIVATEPROCESSSTATUS.ID

Indexes

Index Name Fields Unique Primary Clustered
IX_PLEDGEREMINDERSENT_DATEADDED DATEADDED yes
IX_PLEDGEREMINDERSENT_DATECHANGED DATECHANGED
IX_PLEDGEREMINDERSENT_REVENUEID REVENUEID
PK_PLEDGEREMINDERSENT ID yes yes

Triggers

Trigger Name Description
TR_PLEDGEREMINDERSENT_AUDIT_UPDATE
TR_PLEDGEREMINDERSENT_AUDIT_DELETE