DONORCHALLENGEMEMBERSHIPLEVELMAP (4.0SP14)

Stores membership levels associated with donor challenges.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

DONORCHALLENGEID

uniqueidentifier

false

The donor challenge record to which this membership belongs.

MEMBERSHIPLEVELID

uniqueidentifier

false

The membership record to filter gifts to this donor challenge.

MATCHINGDESIGNATIONID

uniqueidentifier

true

The designation record used to match gifts of this membership and donor challenge.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

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.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_DONORCHALLENGEMEMBERSHIPLEVELMAP_DATEADDED

DATEADDED

False

False

True

IX_DONORCHALLENGEMEMBERSHIPLEVELMAP_DATECHANGED

DATECHANGED

False

False

False

PK_DONORCHALLENGEMEMBERSHIPLEVELMAP

ID

True

True

False

UIX_DONORCHALLENGEMEMBERSHIPLEVELMAP_DONORCHALLENGEID_MEMBERSHIPLEVELID

DONORCHALLENGEID

MEMBERSHIPLEVELID

True

False

False

Triggers
Trigger Name Description

TR_DONORCHALLENGEMEMBERSHIPLEVELMAP_AUDIT_UPDATE

TR_DONORCHALLENGEMEMBERSHIPLEVELMAP_AUDIT_DELETE