REVENUERECOGNITIONDEFAULT (4.0SP20)

Stores recognition defaulting between constituents.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

SOURCECONSTITUENTID

uniqueidentifier

false

FK to CONSTITUENT

RECIPIENTCONSTITUENTID

uniqueidentifier

false

FK to CONSTITUENT

REVENUERECOGNITIONTYPECODEID

uniqueidentifier

true

FK to REVENUERECOGNITIONTYPECODE

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

MATCHFACTOR

decimal(5, 2)

false

0

STARTDATE

datetime

true

ENDDATE

datetime

true

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.

PREVENTRECOGNITIONSDEFAULTING

bit

false

0

Used when a houshold's recognition settings causes a recognition default between two constituents but the user wants to prevent the defaulting.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_REVENUERECOGNITIONDEFAULT_DATEADDED

DATEADDED

False

False

True

IX_REVENUERECOGNITIONDEFAULT_DATECHANGED

DATECHANGED

False

False

False

PK_REVENUERECOGNITIONDEFAULT

ID

True

True

False

UIX_REVENUERECOGNITIONDEFAULT_SOURCECONSTITUENTID_RECIPIENTCONSTITUENTID

SOURCECONSTITUENTID

RECIPIENTCONSTITUENTID

True

False

False

Triggers
Trigger Name Description

TR_REVENUERECOGNITIONDEFAULT_AUDIT_UPDATE

TR_REVENUERECOGNITIONDEFAULT_AUDIT_DELETE