REVENUEDEVELOPMENTFUNCTION

Revenue functions that a particular revenue transaction serves.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
DATEADDED datetime Default = getdate() Indicates the date this record was added.
DATECHANGED datetime Default = getdate() Indicates the date this record was last changed.
TS timestamp Timestamp.
TSLONG bigint (Computed) yes CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Keys

Foreign Key Field Type Null Notes Description
REVENUEID uniqueidentifier FINANCIALTRANSACTION.ID The commitment to which this record pertains.
REVENUEDEVELOPMENTFUNCTIONCODEID uniqueidentifier REVENUEDEVELOPMENTFUNCTIONCODE.ID The revenue function that the revenue item pointed to by this record is serving.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_REVENUEDEVELOPMENTFUNCTION_DATEADDED DATEADDED yes
IX_REVENUEDEVELOPMENTFUNCTION_DATECHANGED DATECHANGED
IX_REVENUEDEVELOPMENTFUNCTION_REVENUEDEVELOPMENTFUNCTIONCODEID REVENUEDEVELOPMENTFUNCTIONCODEID
IX_REVENUEDEVELOPMENTFUNCTION_REVENUEID REVENUEID
PK_REVENUEDEVELOPMENTFUNCTION ID yes yes

Triggers

Trigger Name Description
TR_REVENUEDEVELOPMENTFUNCTION_AUDIT_UPDATE
TR_REVENUEDEVELOPMENTFUNCTION_AUDIT_DELETE

Referenced by

Referenced by Field
RECURRINGGIFTAMENDMENT REVENUEDEVELOPMENTFUNCTIONID
RECURRINGGIFTDEVELOPMENTFUNCTIONHISTORY REVENUEDEVELOPMENTFUNCTIONID