Developers can write faster upgrade 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

Using a new language construct, developers can write faster upgrade code when they want to move a field (with data) from one table to another or when they want to copy all data from one table to another.

Feature details

When refactoring an app, it's common to move a field from one table to another or to copy all data from one table to another table. With this feature, the developer can copy the data from the old field to the new field, or copy the data from the old table to the new table, in a set-based manner without the need to write a loop.

This makes writing upgrade code significantly faster.

See also

Transferring Data Between Tables using DataTransfer (docs)