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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Duplicate Key in Historical Aged Trial Balance

(0) ShareShare
ReportReport
Posted on by 12

When we generate the Historical Aged Trial Balance - RM - we get a Duplicate Primary Key Violation.

Using the same details, same dates, same customer list, same class list - in Aged Trial Balance with Options - RM we do not get the error.

I was able to narrow down the customer record that appears to be causing the problem by entering a range of Customer ID's into the restriction list until I could run the report.  I have determined that one customer DAVIDSION is the problem.

The customer ID is ON HOLD and is marked INACTIVE

There are no current transactions that we can find for this customer - we can look at the Transactions by Customer and see all the old transactions.

I have run reconcile on the RM Sales Transaction / History  on RM Customer Master and on Receivables Transaction Open and History.

Nothing changes.


When I look in the RM00401 (RM KEys) the only records for DAVIDSON are from 2013 - there is nothing current.  Only recent activity on the client was yesterday ( 12/02/14) when the Controller put the account on HOLD and marked the account INACTIVE.  This is also when the generation of the HISTORICAL AGED TRIAL BALANCE stopped working for only this customer.

I can run the Historical Aged Trial Balance for ALL CUSTOMER before DAVIDSON and after with no errors.  So it is not the report - there is a duplicate somewhere and I can not find it.

Thanks for the help.

*This post is locked for comments

I have the same question (0)
  • Charles Ray Profile Picture
    on at

    Bill, was this resolved?  I've got a client with the same issue today.

  • Suggested answer
    Bill Campbell Profile Picture
    12 on at

    Yes Charles, we discovered in the RM00101 table that there was a duplicate Customer ID.

    It might have been created when the client was changing the Customer Name - from Davison to DO NOT USE

    Once we removed the record - all records were returned and the Historical Aged Trial balance operated correctly.

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

News and Announcements

Season of Giving Solutions is Here!

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 > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans