RECEIPTPREFERENCEINFO
Stores information pertaining to receipt preferences.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
RECURRINGGIFTPAYMENTPREFERENCECODE |
tinyint |
|
Default = 0 |
Receipt preference for recurring gift payments. |
PLEDGEPAYMENTPREFERENCECODE |
tinyint |
|
Default = 0 |
Receipt preference for pledge payments. |
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. |
RECURRINGGIFTPAYMENTPREFERENCE |
nvarchar(12) (Computed) |
yes |
CASE [RECURRINGGIFTPAYMENTPREFERENCECODE] WHEN 0 THEN N'Per payment' WHEN 1 THEN N'Consolidated' END |
Provides a translation for the 'RECURRINGGIFTPAYMENTPREFERENCECODE' field. |
PLEDGEPAYMENTPREFERENCE |
nvarchar(12) (Computed) |
yes |
CASE [PLEDGEPAYMENTPREFERENCECODE] WHEN 0 THEN N'Per payment' WHEN 1 THEN N'Consolidated' END |
Provides a translation for the 'PLEDGEPAYMENTPREFERENCECODE' field. |
RERECEIPTPAYMENTS |
bit |
|
Default = 1 |
Designates whether or not to re-receipt payments. |
SAMENUMBERONRERECEIPT |
bit |
|
Default = 1 |
Designates whether or not to allow reusing the same receipt number for receipt reissues. |
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_RECEIPTPREFERENCEINFO_DATEADDED |
DATEADDED |
|
|
yes |
IX_RECEIPTPREFERENCEINFO_DATECHANGED |
DATECHANGED |
|
|
|
PK_RECEIPTPREFERENCEINFO |
ID |
yes |
yes |
|
Triggers