CONSTITUENTDATAREVIEWROLLBACK (4.0SP14)

Records of rollbacks from the constituent data review page.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

CONSTITUENTDATAREVIEWROLLBACKREASONID

uniqueidentifier

true

The reason for the rollback.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

CONTEXTRECORDID

uniqueidentifier

false

The record on which the rollback was performed.

ROLLBACKAUDITID

uniqueidentifier

true

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

true

The audit row whose values were used to generate the rollback. Not applicable to deletes.

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_CONSTITUENTDATAREVIEWROLLBACK_CONSTITUENTDATAREVIEWROLLBACKREASONID

CONSTITUENTDATAREVIEWROLLBACKREASONID

False

False

False

IX_CONSTITUENTDATAREVIEWROLLBACK_CONTEXTRECORDID

CONTEXTRECORDID

False

False

False

IX_CONSTITUENTDATAREVIEWROLLBACK_DATEADDED

DATEADDED

False

False

True

IX_CONSTITUENTDATAREVIEWROLLBACK_DATECHANGED

DATECHANGED

False

False

False

IX_CONSTITUENTDATAREVIEWROLLBACK_ROLLBACKAUDITID

ROLLBACKAUDITID

False

False

False

IX_CONSTITUENTDATAREVIEWROLLBACK_SOURCEAUDITID

SOURCEAUDITID

False

False

False

PK_CONSTITUENTDATAREVIEWROLLBACK

ID

True

True

False

Triggers
Trigger Name Description

TR_CONSTITUENTDATAREVIEWROLLBACK_AUDIT_UPDATE

TR_CONSTITUENTDATAREVIEWROLLBACK_AUDIT_DELETE