One of the most important things every developer should handle is to clean up the environment when the environment (or a company) is copied. Especially if the environment is managed directly by a client and they can create new copies anytime. Similarly, for copied companies.
Tag Archives: Copy
How to copy reports in AL the smart way
Copying Reports for Business Central in VS Code / AL can be a time consuming task. For example, if you want to extend the sales invoice “Standard Sales – Invoice” – 1306, you normally need to create a copy of this report first.
Presentations of BC TechDays 2023
Presentations of the BC TechDays 2023 conference of 22 & 23 June 2023 in Antwerp (Belgium).
Dynamics 365 Business Central: How to copy attachments from Warehouse Receipt to Posted Warehouse Receipt – Customization
Today I would like to discuss a custom solution about Business Central, how to copy attachments from Warehouse Receipt to Posted Warehouse Receipt.
I was asked this question yesterday, it’s not very difficult, so in this post I want to share it briefly, if you encounter similar requirement, I hope it can give you some hints.
Copy Data from Companies using Configuration Worksheet
In the earlier version of Business Central, the only way to copy data between companies was either to copy the company or upload the data through Configuration Packages or Rapid Start.
Microsoft introduced Copy Data from Companies to copy data from specific tables in companies to your respective table in your company.
The Copy method on temporary records
If you ever needed to copy temporary record variables, you probably already stumbled across ToRecord.Copy(FromRecord, true), with the second parameter true being used. But be careful: it works differently than you might think!
Imagine two temporary record variables, both pointing to the same base table:
NavigationAction for ErrorInfo data type
Today I would like to talk about how to copy an existing company via AL (Create multiple companies in one go).
As you might know, Microsoft will add a new company limit in 2023 wave 1 (BC22).