Table that holds the link between the a sponsorship and the recurring additional gift.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
STATUSCODE |
tinyint (Computed) |
yes |
dbo.UFN_REVENUE_GETRECURRINGGIFTSTATUS(REVENUEID) |
Returns the statuscode of the recurring gift. |
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 |
SPONSORSHIPID |
uniqueidentifier |
|
SPONSORSHIP.ID
|
The sponsorship linked to this recurring additional gift. |
REVENUEID |
uniqueidentifier |
|
FINANCIALTRANSACTION.ID
|
The recurring additional gift linked to this sponsorship |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_SPONSORSHIPRECURRINGADDITIONALGIFT_DATEADDED |
DATEADDED |
|
|
yes |
IX_SPONSORSHIPRECURRINGADDITIONALGIFT_DATECHANGED |
DATECHANGED |
|
|
|
IX_SPONSORSHIPRECURRINGADDITIONALGIFT_REVENUEID |
REVENUEID |
|
|
|
IX_SPONSORSHIPRECURRINGADDITIONALGIFT_SPONSORSHIPID |
SPONSORSHIPID |
|
|
|
PK_SPONSORSHIPRECURRINGADDITIONALGIFT |
ID |
yes |
yes |
|
UIX_SPONSORSHIPRECURRINGADDITIONALGIFT_SPONSORSHIPID_REVENUEID |
SPONSORSHIPID, REVENUEID |
yes |
|
|
Triggers