BATCHREVENUEAPPLICATIONPLEDGEINSTALLMENT

Stores installment information for a pledge added during the revenue batch process.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
AMOUNT money Default = 0
DATE datetime
SEQUENCE int Default = 0
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.
RECEIPTAMOUNT money Default = 0

Foreign Keys

Foreign Key Field Type Null Notes Description
BATCHREVENUEAPPLICATIONPLEDGEID uniqueidentifier BATCHREVENUEAPPLICATIONPLEDGE.ID FK to BATCHREVENUEAPPLICATIONPLEDGE
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_BATCHREVENUEAPPLICATIONPLEDGEINSTALLMENT_BATCHREVENUEAPPLICATIONPLEDGEID BATCHREVENUEAPPLICATIONPLEDGEID
IX_BATCHREVENUEAPPLICATIONPLEDGEINSTALLMENT_DATEADDED DATEADDED yes
IX_BATCHREVENUEAPPLICATIONPLEDGEINSTALLMENT_DATECHANGED DATECHANGED
PK_BATCHREVENUEAPPLICATIONPLEDGEINSTALLMENT ID yes yes

Triggers

Trigger Name Description
TR_BATCHREVENUEAPPLICATIONPLEDGEINSTALLMENT_AUDIT_UPDATE
TR_BATCHREVENUEAPPLICATIONPLEDGEINSTALLMENT_AUDIT_DELETE

Referenced by

Referenced by Field
BATCHREVENUEAPPLICATIONPLEDGEINSTALLMENTSPLIT BATCHREVENUEAPPLICATIONPLEDGEINSTALLMENTID