Access database row version from AL code

Important

This content is archived and is not being updated. For the latest documentation, go to What's new and planned for Dynamics 365 Business Central. For the latest release plans, go to Dynamics 365 and Microsoft Power Platform release plans.

Enabled for Public preview General availability
Users, automatically Oct 1, 2022 Oct 1, 2022

Business value

Developers and administrators can get insights into the version of database rows. They can use this to make integration and data analytics scenarios faster by only querying the latest updated data.

Feature details

The database for a Business Central environment tracks a global number called rowversion across all tables. With this feature, the Business Central platform makes this data accessible from AL code. Developers can then add the rowversion field to indexes or use it to query most recent changes to the database.

See also

System Fields (docs)