RECURRINGGIFTSETTING
Configuration options for recurring gifts.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| INSTALLMENTMODECODE |
tinyint |
|
Default = 0 |
Controls how recurring gift installments behave when payments are posted to them. |
| INSTALLMENTMODE |
nvarchar(44) (Computed) |
yes |
CASE [INSTALLMENTMODECODE] WHEN 0 THEN N'Update installment amounts to match payments' WHEN 1 THEN N'Maintain installment amounts' END |
Provides a translation for the 'INSTALLMENTMODECODE' field. |
| 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. |
| FIRSTINSTALLMENTCODE |
tinyint |
|
Default = 0 |
|
| FIRSTINSTALLMENT |
nvarchar(11) (Computed) |
yes |
CASE [FIRSTINSTALLMENTCODE] WHEN 0 THEN N'Oldest' WHEN 1 THEN N'Most recent' END |
|
| INSTALLMENTUNDERPAYMENTCODE |
tinyint |
|
Default = 0 |
|
| INSTALLMENTUNDERPAYMENT |
nvarchar(36) (Computed) |
yes |
CASE [INSTALLMENTUNDERPAYMENTCODE] WHEN 0 THEN N'Leave a balance' WHEN 1 THEN N'Write-off the remaining balance' WHEN 2 THEN N'Adjust the amount of the installment' END |
|
| APPLYTOPASTINSTALLMENTS |
bit |
|
Default = 1 |
|
| PASTBALANCEUNDERPAYMENTCODE |
tinyint |
|
Default = 0 |
|
| PASTBALANCEUNDERPAYMENT |
nvarchar(37) (Computed) |
yes |
CASE [PASTBALANCEUNDERPAYMENTCODE] WHEN 0 THEN N'Leave the balances' WHEN 1 THEN N'Write-off the remaining balances' WHEN 2 THEN N'Adjust the amount of the installments' END |
|
| OVERPAYMENTCODE |
tinyint |
|
Default = 0 |
|
| OVERPAYMENT |
nvarchar(39) (Computed) |
yes |
CASE [OVERPAYMENTCODE] WHEN 0 THEN N'Apply the excess to future installments' WHEN 1 THEN N'Adjust the amount of the installment' WHEN 2 THEN N'Apply the excess as a donation' END |
|
| EFFECTIVEDATE |
datetime |
|
|
|
| UPGRADEDATE |
datetime |
|
|
|
| ISRGPAYMENTHANDLINGBATCH |
bit |
|
Default = 0 |
|
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_RECURRINGGIFTSETTING_DATEADDED |
DATEADDED |
|
|
yes |
| IX_RECURRINGGIFTSETTING_DATECHANGED |
DATECHANGED |
|
|
|
| PK_RECURRINGGIFTSETTING |
ID |
yes |
yes |
|
Triggers