RECOGNITIONCREDIT (4.0SP14)

Stores recognition credit credits for a constituent.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

CONSTITUENTID

uniqueidentifier

false

FK to CONSTITUENT

USERRECOGNITIONTYPECODEID

uniqueidentifier

true

FK to REVENUERECOGNITIONTYPECODE

DESIGNATIONID

uniqueidentifier

true

The designation of this recognition credit.

DONORCHALLENGEENCUMBEREDID

uniqueidentifier

true

The matched donor challenge fund that gives this recognition credit credit.

BASECURRENCYID

uniqueidentifier

true

The base currency associated with this recognition credit.

ORGANIZATIONEXCHANGERATEID

uniqueidentifier

true

The exchange rate used to convert from amount to organization amount.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

AMOUNT

money

false

0

Amount a constituent is recognized for.

EFFECTIVEDATE

datetime

false

The date a constituent is recognized as having given.

RECOGNITIONCREDITTYPECODE

tinyint

false

0

The type of this recognition credit.

RECOGNITIONCREDITTYPE

nvarchar(15) (Computed)

true

Provides a translation for the 'RECOGNITIONCREDITTYPECODE' field.

ORGANIZATIONAMOUNT

money

false

0

The amount of the recognition credit in organization currency.

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_RECOGNITIONCREDIT_BASECURRENCYID

BASECURRENCYID

False

False

False

IX_RECOGNITIONCREDIT_CONSTITUENTID

CONSTITUENTID

False

False

False

IX_RECOGNITIONCREDIT_DATEADDED

DATEADDED

False

False

True

IX_RECOGNITIONCREDIT_DATECHANGED

DATECHANGED

False

False

False

IX_RECOGNITIONCREDIT_DONORCHALLENGEENCUMBEREDID

DONORCHALLENGEENCUMBEREDID

False

False

False

IX_RECOGNITIONCREDIT_ORGANIZATIONEXCHANGERATEID

ORGANIZATIONEXCHANGERATEID

False

False

False

PK_RECOGNITIONCREDIT

ID

True

True

False

Triggers
Trigger Name Description

TR_RECOGNITIONCREDIT_INSERTUPDATE_CURRENCY

TR_RECOGNITIONCREDIT_AUDIT_UPDATE

TR_RECOGNITIONCREDIT_AUDIT_DELETE

Referenced by
Referenced by Field

CONSTITUENTRECOGNITIONREVENUE

RECOGNITIONCREDITID