CONSTITUENTRECOGNITIONREVENUE (4.0SP20)

Stores revenue records that relate to constituent recognition programs.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

RECOGNITIONPROGRAMID

uniqueidentifier

true

The recognition program that this credit is applied to.

REVENUERECOGNITIONID

uniqueidentifier

true

The associated revenue recognition record

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

BASECURRENCYID

uniqueidentifier

true

The base currency associated with this recognition program.

ORGANIZATIONEXCHANGERATEID

uniqueidentifier

true

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

RECOGNITIONCREDITID

uniqueidentifier

true

The associated recognition credit record

Fields
Field Field Type Null Notes Description

AMOUNT

money

false

0

The recognition amount (stored for processing).

EFFECTIVEDATE

datetime

true

The date of the revenue (stored for processing).

ISPLANNEDGIFT

bit

false

0

Denotes that this recognition is for a planned gift.

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.

ORGANIZATIONAMOUNT

money

false

0

The recognition amount (stored for processing) in organization currency.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_CONSTITUENTRECOGNITIONREVENUE_BASECURRENCYID

BASECURRENCYID

False

False

False

IX_CONSTITUENTRECOGNITIONREVENUE_DATEADDED

DATEADDED

False

False

True

IX_CONSTITUENTRECOGNITIONREVENUE_DATECHANGED

DATECHANGED

False

False

False

IX_CONSTITUENTRECOGNITIONREVENUE_ORGANIZATIONEXCHANGERATEID

ORGANIZATIONEXCHANGERATEID

False

False

False

IX_CONSTITUENTRECOGNITIONREVENUE_RECOGNITIONPROGRAMID

RECOGNITIONPROGRAMID

False

False

False

IX_CONSTITUENTRECOGNITIONREVENUE_REVENUERECOGNITIONID

REVENUERECOGNITIONID

False

False

False

PK_CONSTITUENTRECOGNITIONREVENUE

ID

True

True

False

Triggers
Trigger Name Description

TR_CONSTITUENTRECOGNITIONREVENUE_AUDIT_UPDATE

TR_CONSTITUENTRECOGNITIONREVENUE_AUDIT_DELETE

TR_CONSTITUENTRECOGNITIONREVENUE_INSERTUPDATE_CURRENCY