Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 CONTEXTRECORDID uniqueidentifier   The record on which the rollback was performed.
 ROLLBACKAUDITID uniqueidentifier For updates, the after update auditid. For inserts, null or the before update/delete auditid after the row has been altered. For deletes, the before delete auditid.
 SOURCEAUDITID uniqueidentifier The audit row whose values were used to generate the rollback. Not applicable to deletes.
 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.

Foreign Key Field Type Null Notes Description
 CONSTITUENTDATAREVIEWROLLBACKREASONID uniqueidentifier CONSTITUENTDATAREVIEWROLLBACKREASON.ID The reason for the rollback.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_CONSTITUENTDATAREVIEWROLLBACK_CONSTITUENTDATAREVIEWROLLBACKREASONID CONSTITUENTDATAREVIEWROLLBACKREASONID      
 IX_CONSTITUENTDATAREVIEWROLLBACK_CONTEXTRECORDID CONTEXTRECORDID      
 IX_CONSTITUENTDATAREVIEWROLLBACK_DATEADDED DATEADDED    
 IX_CONSTITUENTDATAREVIEWROLLBACK_DATECHANGED DATECHANGED      
 IX_CONSTITUENTDATAREVIEWROLLBACK_ROLLBACKAUDITID ROLLBACKAUDITID      
 IX_CONSTITUENTDATAREVIEWROLLBACK_SOURCEAUDITID SOURCEAUDITID      
 PK_CONSTITUENTDATAREVIEWROLLBACK ID  

Trigger Name Description
 TR_CONSTITUENTDATAREVIEWROLLBACK_AUDIT_UPDATE
 TR_CONSTITUENTDATAREVIEWROLLBACK_AUDIT_DELETE

Entity-Relationship diagram of this table