Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Unanswered

Changing Customer # on Multiple Records (NAV On Premise)

(0) ShareShare
ReportReport
Posted on by 5

We have about 800 customers that we need to change their Customer # to a new Customer#. Was hoping to update based on a list (ie Old# and New# in Excel or even a sql server table) without having to go into each Customer card.

According to threads I've read in this forum, it says "you should uses RENAME while changing the primary key"

I looked at this thread https://community.dynamics.com/nav/f/microsoft-dynamics-nav-forum/215575/changing-customer-number-on-customer-table but wondering if there is a way to do this through SQL Server or anything as we are not C/SIDE developers. We did do a test with a SQL update query (using SQL Server Mgt Studio) but noticed that although the [No_] field changed, it did disconnect that customer record from all of its transactions. That's what I was afraid of.

Does anyone know of a tool or alternate method of doing this without using C/Side or then maybe instructions on writing something? I am a dev but know nothing about getting started writing a simple looping update modules in CSide or where that is done. I do have access to the "Dynamics NAV Development Environment [Object Designer]" but not sure what to do with that. I have used it to play with queries but that's about it.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,883 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,569 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans