MKTGIFTRECORDSOURCE
Stores information pertaining to a person record source's gift record source.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
APPEALSYSTEMIDFIELD |
nvarchar(255) |
|
Default = '' |
The field name from the gift query view that maps to the appeal system ID in the source system. |
APPEALIDFIELD |
nvarchar(255) |
|
Default = '' |
The field name from the gift query view that maps to the appeal ID in the source system. |
APPEALDESCRIPTIONFIELD |
nvarchar(255) |
|
Default = '' |
The field name from the gift query view that maps to the appeal description in the source system. |
AMOUNTFIELD |
nvarchar(255) |
|
Default = '' |
The field name from the gift query view that maps to the gift amount in the source system. |
DONORIDFIELD |
nvarchar(255) |
|
Default = '' |
The field name from the gift query view that maps to the donor ID in the source system. |
SOURCECODEFIELD |
nvarchar(255) |
|
Default = '' |
The field name from the gift query view that maps to the source code in the source system. |
MAILINGIDFIELD |
nvarchar(255) |
|
Default = '' |
The field name from the gift query view that maps to the effort ID in the source system. |
DATEFIELD |
nvarchar(255) |
|
Default = '' |
The field name from the gift query view that maps to the date field in the source system. |
FINDERNUMBERFIELD |
nvarchar(255) |
|
Default = '' |
The field name from the gift query view that maps to the finder number in the source system. |
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. |
DATEADDEDFIELD |
nvarchar(255) |
|
Default = '' |
The field name from the gift query view that maps to the date added field in the source system. |
DONOTACKNOWLEDGEFIELD |
nvarchar(255) |
|
Default = '' |
The field name from the gift query view that maps to the do not acknowledge field in the source system. |
DONOTRECEIPTFIELD |
nvarchar(255) |
|
Default = '' |
The field name from the gift query view that maps to the do not receipt field in the source system. |
DATECHANGEDFIELD |
nvarchar(255) |
|
Default = '' |
The field name from the gift query view that maps to the date changed field in the source system. |
BASECURRENCYIDFIELD |
nvarchar(255) |
|
Default = '' |
The field name from the gift query view that maps to the base currency ID field in the source system. |
LOOKUPIDFIELD |
nvarchar(255) |
|
Default = '' |
The field name from the gift query view that maps to the lookup ID field in the source system. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
ID |
uniqueidentifier |
|
MKTRECORDSOURCE.ID
|
Primary Key. |
QUERYVIEWCATALOGID |
uniqueidentifier |
|
QUERYVIEWCATALOG.ID
|
The query view that contains gift record source information. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
MARKETINGINFOQUERYVIEWCATALOGID |
uniqueidentifier |
|
QUERYVIEWCATALOG.ID
|
The query view for displaying revenue marketing information. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_MKTGIFTRECORDSOURCE_DATEADDED |
DATEADDED |
|
|
yes |
IX_MKTGIFTRECORDSOURCE_DATECHANGED |
DATECHANGED |
|
|
|
PK_MKTGIFTRECORDSOURCE |
ID |
yes |
yes |
|
UC_MKTGIFTRECORDSOURCE_MARKETINGINFOQUERYVIEWCATALOGID |
MARKETINGINFOQUERYVIEWCATALOGID |
yes |
|
|
Triggers