RECURRINGGIFTWRITEOFF
Contains information about write-offs of recurring gift installments.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| DATE |
date |
|
|
|
| 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. |
| TYPECODE |
tinyint |
|
Default = 0 |
|
| TYPE |
nvarchar(9) (Computed) |
yes |
CASE [TYPECODE] WHEN 0 THEN N'Write-off' WHEN 1 THEN N'Skip' END |
|
| REASONTYPECODE |
tinyint |
|
Default = 0 |
|
| REASONTYPE |
nvarchar(31) (Computed) |
yes |
CASE [REASONTYPECODE] WHEN 0 THEN N'Manually added' WHEN 1 THEN N'Recurring gift payment handling' END |
|
Foreign Keys
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_RECURRINGGIFTWRITEOFF_DATEADDED |
DATEADDED |
|
|
yes |
| IX_RECURRINGGIFTWRITEOFF_DATECHANGED |
DATECHANGED |
|
|
|
| IX_RECURRINGGIFTWRITEOFF_PAYMENTID |
PAYMENTID |
|
|
|
| IX_RECURRINGGIFTWRITEOFF_REASONCODEID |
REASONCODEID |
|
|
|
| IX_RECURRINGGIFTWRITEOFF_REVENUEID |
REVENUEID |
|
|
|
| IX_RECURRINGGIFTWRITEOFF_SKIPREASONCODEID |
SKIPREASONCODEID |
|
|
|
| PK_RECURRINGGIFTWRITEOFF |
ID |
yes |
yes |
|
Triggers
Referenced by