Attribute History Table and Correction
Correction is when there is a change made in a record, but without the creation of a new version. To track the changes made to the attributes, the table
ATTRIBUTEHISTORY is implemented.
When a state is changed, an entry is created in the
ATTRIBUTEHISTORY table to note this. Similarly, when a record is deleted, the
ACTIVE flag change is noted.
Correction updates the record and also transfers the ownership of the version to a new processlog ID and owner ID. In this case, when a step is being rolled back, the attribute history is removed for the steps which are being rolled back.
When correction is done, the following tasks can be completed:
- Record data can be updated
- Relationships can also be modified (added or deleted)
- Relationship records can be updated