Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 AMOUNT money   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) CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Key Field Type Null Notes Description
 RECURRINGGIFTINSTALLMENTID uniqueidentifier   RECURRINGGIFTINSTALLMENT.ID FK to RECURRINGGIFTINSTALLMENT
 PAYMENTID uniqueidentifier   FINANCIALTRANSACTION.ID FK to REVENUE
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 APPLICATIONCURRENCYID uniqueidentifier CURRENCY.ID The currency associated with this record's amount, which matches the transaction currency of the payment.
 APPLICATIONEXCHANGERATEID uniqueidentifier CURRENCYEXCHANGERATE.ID The exchange rate used to convert the transaction amount of the payment to the transaction amount of the payment.

Index Name Field(s) Unique Primary Clustered
 IX_RECURRINGGIFTINSTALLMENTPAYMENT_APPLICATIONCURRENCYID APPLICATIONCURRENCYID      
 IX_RECURRINGGIFTINSTALLMENTPAYMENT_APPLICATIONEXCHANGERATEID APPLICATIONEXCHANGERATEID      
 IX_RECURRINGGIFTINSTALLMENTPAYMENT_DATEADDED DATEADDED    
 IX_RECURRINGGIFTINSTALLMENTPAYMENT_DATECHANGED DATECHANGED      
 IX_RECURRINGGIFTINSTALLMENTPAYMENT_PAYMENTID PAYMENTID      
 PK_RECURRINGGIFTINSTALLMENTPAYMENT ID  
 UIX_RECURRINGGIFTINSTALLMENTPAYMENT_RECURRINGGIFTINSTALLMENTID_PAYMENTID RECURRINGGIFTINSTALLMENTID, PAYMENTID    

Trigger Name Description
 TR_RECURRINGGIFTINSTALLMENTPAYMENT_AUDIT_ETLDELETEDID
 TR_RECURRINGGIFTINSTALLMENTPAYMENT_INSERTUPDATE_CURRENCY
 TR_RECURRINGGIFTINSTALLMENTPAYMENT_AUDIT_UPDATE
 TR_RECURRINGGIFTINSTALLMENTPAYMENT_AUDIT_DELETE

Entity-Relationship diagram of this table