RECURRINGGIFTINSTALLMENTPAYMENT
Contains recurring gift installment payment information.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
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) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
Foreign Keys
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 |
yes |
CURRENCY.ID
|
The currency associated with this record's amount, which matches the transaction currency of the payment. |
APPLICATIONEXCHANGERATEID |
uniqueidentifier |
yes |
CURRENCYEXCHANGERATE.ID
|
The exchange rate used to convert the transaction amount of the payment to the transaction amount of the payment. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_RECURRINGGIFTINSTALLMENTPAYMENT_APPLICATIONCURRENCYID |
APPLICATIONCURRENCYID |
|
|
|
IX_RECURRINGGIFTINSTALLMENTPAYMENT_APPLICATIONEXCHANGERATEID |
APPLICATIONEXCHANGERATEID |
|
|
|
IX_RECURRINGGIFTINSTALLMENTPAYMENT_DATEADDED |
DATEADDED |
|
|
yes |
IX_RECURRINGGIFTINSTALLMENTPAYMENT_DATECHANGED |
DATECHANGED |
|
|
|
IX_RECURRINGGIFTINSTALLMENTPAYMENT_PAYMENTID |
PAYMENTID |
|
|
|
PK_RECURRINGGIFTINSTALLMENTPAYMENT |
ID |
yes |
yes |
|
UIX_RECURRINGGIFTINSTALLMENTPAYMENT_RECURRINGGIFTINSTALLMENTID_PAYMENTID |
RECURRINGGIFTINSTALLMENTID, PAYMENTID |
yes |
|
|
Triggers