Desktop version

Main > 1C:Enterprise > Administration Tools > Data History

Data History

Data History is a built-in mechanism of the platform. It efficiently stores a history of changes made to application data by users. With it, you can flexibly analyze data changes, compare different versions, and restore data to the state it held in a selected version.

This mechanism is built into the platform, requiring no additional integration effort from developers. Developers only need to specify which configuration objects will have history tracked and configure the update frequency as a background task.

Use Cases

Data History can be used in scenarios such as:

Change History for an Object

If change history is enabled for an application object, the standard command of this mechanism allows users to view a list of all changes (versions) of the object.

DataHistory_1.png

DataHistory_1_2.png

Additionally, the Comment column allows users to add custom notes, which can assist in investigating specific cases.

Filtering Versions

For objects with a long change history, it is possible to filter versions based on specific conditions to focus only on relevant records.

DataHistory_2.png

Version Data Report

This report provides an overview of the data contained in any selected version. It highlights values that were modified compared to the previous version.

DataHistory_3.png

Version Comparison Report

Users can compare two selected versions of an object. This report highlights added, modified, and deleted values.

DataHistory_4.png

API for Data History Mechanism

The 1C:Enterprise language includes an API that provides full access to the capabilities of the Data History mechanism. It allows developers to manage migrations between versions, add comments, exclude specific attributes from the standard data processor, modify data, change version numbers, and perform other operations. Developers can also override all standard forms used by the Data History mechanism to customize its functionality as needed.


See also:



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.