Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Customer Combiner

Posted on by Microsoft Employee

I am using the Customer Combiner function(Tools>Utilities>Sales>Customer Combiner and Modifier.  When I run it, I am getting a Primary Key Constraint Error.  Anybody ever encounter this before?

Thanks!

5557.Capture.PNG

*This post is locked for comments

  • Tim Wappat Profile Picture
    Tim Wappat 5,701 on at
    RE: Customer Combiner

    I touch on this in the post on my blog:

    [View:http://www.timwappat.info/post/2015/09/02/Care-naming-database-objects-in-Dynamics-GP-for-custom-GP-Addins:750:50]

    and

    [View:http://www.timwappat.info/post/2015/09/02/Customer-combiner-and-table-not-found-errors:750:50]

    The customer combiner runs a SQL script that DYNAMICALLY iterates through the database hunting for the CUSTNMBR fields, and tables containing that field. It then updates the values in those fields to the customer number you are merging into for any customers you are merging from.

    However if there is already a record for that "merge to" customer in the table, then you will get this key violation error.

    The combiner script works fine for the base product as native tables are dealt with specifically by the script where they are keyed in this way. It falls over on 3rd party tables, unless the 3rd party product has written in support for the combiner.

    Check with the 3rd party product for a solution. 

    Disabling the product is unlikely to work as this operation is performed by and within the database and does not respect the status of the product. 

  • Suggested answer
    Tristan Clores Profile Picture
    Tristan Clores 2,812 on at
    RE: Customer Combiner

    Hi David,

    Try disabling the 3rd party product Ethotech's Commission Plan and try using the Customer Combiner again.

  • MattPaulen Profile Picture
    MattPaulen 6,910 on at
    RE: Customer Combiner

    I believe the ASI28050 table is part of Ethotech's Commission Plan product.  Since it's a 3rd party, the built in tool might not work completely.  You may need to update the 3rd party tables manually and then run the tool.  You could try reaching out to them and they may have specific steps to go along with the tool.

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans