web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Upgrade issues

(0) ShareShare
ReportReport
Posted on by 55

Hi There,

Want to gather your experience and thoughts on how unsettling the Business Central upgrade have been for you. How risky it is to add new tables and create functions on new tables and fields. Tactics you have used to make sure the customizations don't break with the upgrade?

Cheers

Vkias Jain   

I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    60,993 Super User 2025 Season 2 on at

    I have not seen any upgrade without a custom table/field/function.

    It is very common to have customizations and we have to handle them in the upgrade.

  • Hein Kruger Profile Picture
    629 on at

    Hi,

    My first upgrade was from NAV 2013 R2 to BC21. It was a bit of a  nightmare.

    1. You will have to add new temp table to help transfer the data.
    2.  Make sure you follow Microsoft steps EXACTLY. Don't skip any steps and take the time to understand how it works. 
    3.  Your upgrade will fail at least 10 times. accept it. (Make descriptive notes of all your steps. You will need them!)
    4. Going from On-prem to SAAS. Make sure you use an account that has all the bells and whistles (Think Customer- Business Manager). Not sure what permissions is needed, but you will have a tough time if you dont have an essential account. 
    5. Use a compare tool like "Beyond Compare 4" to get all the new fields that have been added. Note: Dont include flow fields. 
    6. Forcesync Schema mode ALWAY later. you do the ForceSync Schem Force once in every instance. Dont do it unless the steps says its time.

    NAV 2013 R2 --> NAV 2018 (Data) Steps
    1. Compare NAV2013 DB with Customer DB. Find all the new fields and Tables that have been added. Write the fields for each table in an excel spreadsheet.
    2. In SSMS make a Database copy.
    3. Open NAV2013 Development Environment. Delete all objects EXCEPT Tables. (Yes all the code Units and all the reports. Everything)
    4. NAV2018-- In SSMS Create a demo database and import cronus from the install file
    5. Open the NAV 2013 R2 Database in NAV 2018 Development Environment.
    6. Create Temp Tables for the Temp Fields and New Tables.
    7. Compare UPG Tables with Temp Tables. If there is a match copy temptables  fields to UPG table & Other way around aswell.
    8. In the UPGW1 Code unit-->
            * For Extended Field use the "Copy" functionality
            * For the New tables  use the "Move" functionality

    9.Delete all tables in the "50000" range (This is you extension custom code range)
    10. Connect to the instance
    11. Start Upgrade steps in Powershell (Run as Administrator:: Always)
    12. If upgrade is complete copy data from UPG to Temp Table (Run the UPG & Temp table)
    13. After completion delete all objects except tables (again)
    14. Delete all upgrade objects. 

    Hope this helps.   

  • OzVik Profile Picture
    55 on at

    Thanks for the elaborated response. I think I missed an important part in my question. My client does not have Dynamics 365 Business Central.

    Our first implementation of Business Central will be in the latest version 21.5 of Dynamics 365 Business Central. It will have many customizations, both tables and forms.

    I wanted to know how often does the regular upgrades from Microsoft break such customizations in your experience.

    Cheers

  • Suggested answer
    Mohana Yadav Profile Picture
    60,993 Super User 2025 Season 2 on at

    It depends on many factors.

    If Microsoft redesigns the area that you have customized then you may have to rewrite the customizations etc.

    We cannot predict how often it will break.

    It may not break at all for some customers and it may break on every update for others.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at

    In my experience that happens very seldom as long as you make sure to use the code cops when you write your AL code.

    You should also use a pipeline in your Dev environment that compiles your code against next minor and next major version.

    Read Freddys blog about AL Go for Github - that is a great tool to help you keep your code current.

    freddysblog.com/.../

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans