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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Index issues

(7) ShareShare
ReportReport
Posted on by 90
"I am performing a data migration from Dynamics NAV 2009 R2 to Business Central 27. In this process, when we select a modified table and manually compare it during the merging step, do we need to consider the index and its order?
For example, if we add an index in NAV 2009 R2, do we also have to create the same index in the same order in NAV 2013? I did not get any errors until the NAV 2013 stage, but when I moved to Business Central, I encountered some index-related errors."
 
I have the same question (0)
  • Suggested answer
    OussamaSabbouh Profile Picture
    12,803 Super User 2026 Season 1 on at
    Hello,
     
    Yes, you must merge keys (indexes) exactly, including field order, at every upgrade step.
    If a table in NAV 2009 R2 had a custom index, that same index must exist in NAV 2013 → 2015 → 2018 → BC 27 with the same fields and order.
    NAV sometimes ignores mismatches, but Business Central is strict.
    If an index exists in metadata but not in SQL (or differs), BC will throw schema sync/index errors.
    Fix the table definitions so all keys match across all versions, then re-sync.
     
    Regards,
    Oussama Sabbouh
  • BeastReturns_95 Profile Picture
    90 on at
    @OussamaSabbouh  can i get BC14 onprem to BC27 directly
  • Suggested answer
    Kamal Khakhkhar Profile Picture
    2,915 on at
    Hii There ,
    as per requirement if you just migrating the objects Its ok to go direct as per like this but if you migrating data also then there is defined cycle you need to go through upgrade matrix as per requirement.
     
     
    Thank You.
    Kamal Khakhkhar
  • Suggested answer
    Jainam M. Kothari Profile Picture
    15,732 Super User 2026 Season 1 on at
    Hello,
     
    Yes, you must replicate custom indexes and maintain their order during NAV-to-Business Central migration because BC enforces stricter schema validation than older NAV versions. While NAV 2009 to 2013 upgrades often tolerate missing or reordered indexes, Business Central checks key definitions and composite key order, so mismatches can cause upgrade errors or performance issues.
     
    The best practice is to identify all custom indexes in the source, recreate them in the target schema with the same order, and validate before schema synchronization.
  • Gerardo Rentería García Profile Picture
    25,555 Most Valuable Professional on at

    Hi, good day
    I hope this can help you, and give you some hints.

    Upgrading to Dynamics 365 Business Central 2025 release wave 2 - Business Central | Microsoft Learn

    Best Regards
    Gerardo

  • Suggested answer
    Saurav.Dhyani Profile Picture
    14,419 User Group Leader on at
    You cannot do directly to BC 27.
     
    From NAV 2009 R2 here is your upgrade path:
     
    NAV 2009 R2 - NAV 2015 - BC 14 - BC25 - BC27.
     
    Regards,
    Saurav Dhyani
    https://www.youtube.com/@sauravdhyani?sub_confirmation=1

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,926 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,158 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 533 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans