DESIGNATIONLEVELREVENUEINFORMATION (4.0SP20)

This table contains revenue information belonging to a Fundraising Purpose.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

REVENUEID

uniqueidentifier

true

The revenue item associated with the purpose.

DESIGNATIONLEVELID

uniqueidentifier

true

The fundraising purpose.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

ISORIGINALFUNDING

bit

false

0

Specifies whether this revenue item is a corpus for the purpose.

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_DESIGNATIONLEVELREVENUEINFORMATION_DATEADDED

DATEADDED

False

False

True

IX_DESIGNATIONLEVELREVENUEINFORMATION_DATECHANGED

DATECHANGED

False

False

False

PK_DESIGNATIONLEVELREVENUEINFORMATION

ID

True

True

False

UIX_DESIGNATIONLEVELREVENUEINFORMATION_REVENUEID_DESIGNATIONLEVELID

REVENUEID

DESIGNATIONLEVELID

True

False

False

Triggers
Trigger Name Description

TR_DESIGNATIONLEVELREVENUEINFORMATION_AUDIT_UPDATE

TR_DESIGNATIONLEVELREVENUEINFORMATION_AUDIT_DELETE