Skip to main content

Posts

Showing posts with the label Code Upgrades

How to upgrade Microsoft Dynamics NAV C/AL Objects to Microsoft Dynamics Business Central AL Objects

Introduction: When migrating from NAV 2017 to NAV 2018 i.e moving from C/AL to AL the created objects need not be created again from scratch in AL. This blog demonstrates how we can create the AL objects from C/AL using Txt2Al in Command Prompt. Pre-requisite: NAV 2018. Backup of Objects in TEXT or FOB format. Steps: 1. Import objects in NAV 2018 from the created  . TXT or . FOB files. In NAV Development Environment goto, Files > Import > Choose the .FOB or  .TXT file > Replace all the objects 2. Export the objects in New Syntax to . TXT files. Create a directory to store the objects in .TXT format which will be exported as new syntax. Here, ‘source’ is the name of the directory used. Use  ‘mkdir source ‘ Create a directory to store the .AL that will be created by TXT2AL Converter utility. Here ‘target’ is the name of the directory used. Use ‘mkdir target’ To export the objects in .TXT format in NewSyntax use the following command where Source Directory =

Few things that can save you a lot of hassle in Per Tenant Extension Code Upgrade in Microsoft Dynamics 365 Business Central Wave 2 (version 15) Upgrade

Problem Statement: With a change in Business Central Version from Version 14 to Version 15, I had noticed a few things got deprecated. Instead, these functions where deprecated and overloaded which why function definition remains the same but the parameters change. Introduction: In this blog, let us discuss the changes in Business Central BaseApp coding that can possibly break your extension and prevent you from upgrading.  Also, I will be discussing the list data type introduced since the 2019 Wave 2 release. Pre-requisites: Microsoft Dynamics Business Central Version 14 Microsoft Dynamics Business Central Version 15 Books & References: List DataType https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/list/list-data-type https://www.kauffmann.nl/2019/10/11/net-types-in-al-are-reference-types/ https://demiliani.com/2019/09/17/dynamics-365-bc-wave-2-release-what-happens-now/ Demonstration: In this blog, let us ta