MKTGIFTRECORDSOURCE (4.0SP14)

Stores information pertaining to a person record source's gift record source.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

QUERYVIEWCATALOGID

uniqueidentifier

false

The query view that contains gift record source information.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

MARKETINGINFOQUERYVIEWCATALOGID

uniqueidentifier

false

The query view for displaying revenue marketing information.

Fields
Field Field Type Null Notes Description

APPEALSYSTEMIDFIELD

nvarchar(255)

false

''

The field name from the gift query view that maps to the appeal system ID in the source system.

APPEALIDFIELD

nvarchar(255)

false

''

The field name from the gift query view that maps to the appeal ID in the source system.

APPEALDESCRIPTIONFIELD

nvarchar(255)

false

''

The field name from the gift query view that maps to the appeal description in the source system.

AMOUNTFIELD

nvarchar(255)

false

''

The field name from the gift query view that maps to the gift amount in the source system.

DONORIDFIELD

nvarchar(255)

false

''

The field name from the gift query view that maps to the donor ID in the source system.

SOURCECODEFIELD

nvarchar(255)

false

''

The field name from the gift query view that maps to the source code in the source system.

MAILINGIDFIELD

nvarchar(255)

false

''

The field name from the gift query view that maps to the effort ID in the source system.

DATEFIELD

nvarchar(255)

false

''

The field name from the gift query view that maps to the date field in the source system.

FINDERNUMBERFIELD

nvarchar(255)

false

''

The field name from the gift query view that maps to the finder number in the source system.

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

DATEADDEDFIELD

nvarchar(255)

false

''

The field name from the gift query view that maps to the date added field in the source system.

DONOTACKNOWLEDGEFIELD

nvarchar(255)

false

''

The field name from the gift query view that maps to the do not acknowledge field in the source system.

DONOTRECEIPTFIELD

nvarchar(255)

false

''

The field name from the gift query view that maps to the do not receipt field in the source system.

DATECHANGEDFIELD

nvarchar(255)

false

''

The field name from the gift query view that maps to the date changed field in the source system.

BASECURRENCYIDFIELD

nvarchar(255)

false

''

The field name from the gift query view that maps to the base currency ID field in the source system.

LOOKUPIDFIELD

nvarchar(255)

false

''

The field name from the gift query view that maps to the lookup ID field in the source system.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_MKTGIFTRECORDSOURCE_DATEADDED

DATEADDED

False

False

True

IX_MKTGIFTRECORDSOURCE_DATECHANGED

DATECHANGED

False

False

False

PK_MKTGIFTRECORDSOURCE

ID

True

True

False

UC_MKTGIFTRECORDSOURCE_MARKETINGINFOQUERYVIEWCATALOGID

MARKETINGINFOQUERYVIEWCATALOGID

True

False

False

Triggers
Trigger Name Description

TR_MKTGIFTRECORDSOURCE_AUDIT_UPDATE

TR_MKTGIFTRECORDSOURCE_AUDIT_DELETE