Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics RMS (Archived)

Customer Merge

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Mabuhay! Can you help us which table to update if we are going to merge old customer to his/her new number without deleting their old transactons? Like creating new account and all data from their old number will be deleted and will exist now on their new accounts. I cant make any application for this one all I think we can make is via SQL Query. ANy help for this one?

Thanks,

Chris

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Customer Merge

    Mabuhay! Hi Sir Ed,, big thanks for this one.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Customer Merge

    you will need to update the [transaction] table  customerID column.  Change it from the old id to the new id.

    select * from customers   to find the id

    update [transaction] set customerid = newidnumber  where customerid = oldidnumber

    update [journal] set  ......

    update [payment} set ......

    if you have HQ, then you will have to do the same on the HQ database

    and possibly update the HQ ids from the customer.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans