Primary Key Field Type
 ID uniqueidentifier

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) CONVERT(bigint, TS) Numeric representation of the timestamp.
 ISACTIVE bit   Default = 1 Indicates that a matching gift claim is active and should be included in outstanding balance reports.

Foreign Key Field Type Null Notes Description
 ID uniqueidentifier   FINANCIALTRANSACTION.ID Primary Key.
 MATCHINGGIFTCONDITIONID uniqueidentifier MATCHINGGIFTCONDITION.ID The matching gift condition for a matching gift claim.
 MGSOURCEREVENUEID uniqueidentifier   FINANCIALTRANSACTION.ID The original revenue record ID.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 RELATIONSHIPID uniqueidentifier RELATIONSHIP.ID The relationship that applies for a matching gift claim.

Index Name Field(s) Unique Primary Clustered
 IX_REVENUEMATCHINGGIFT_DATEADDED DATEADDED    
 IX_REVENUEMATCHINGGIFT_DATECHANGED DATECHANGED      
 IX_REVENUEMATCHINGGIFT_MGSOURCEREVENUEID MGSOURCEREVENUEID      
 PK_REVENUEMATCHINGGIFT ID  

Trigger Name Description
 TR_REVENUEMATCHINGGIFT_AUDIT_UPDATE
 TR_REVENUEMATCHINGGIFT_AUDIT_DELETE

Entity-Relationship diagram of this table