Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

GP 18 (18.00.704) - eConnect Journal integration with AA with duplicate error in AAG10001

Posted on by 295

hi,

We are having an issue with following error

Exception message:

Violation of PRIMARY KEY constraint 'PKAAG10001'. Cannot insert duplicate key in object 'dbo.AAG10001'. The duplicate key value is (586836, 1).

Violation of PRIMARY KEY constraint 'PKAAG10002'. Cannot insert duplicate key in object 'dbo.AAG10002'. The duplicate key value is (586836, 1, 1).

This work fine TWO Database but not with the client company database, run AA Index script without any joy?

Anyone experienced this issue?

Thanking you in advance

Kanti

Categories:
  • Kantilal Mistry Profile Picture
    Kantilal Mistry 295 on at
    RE: GP 18 (18.00.704) - eConnect Journal integration with AA with duplicate error in AAG10001

    Hi Derek,

    Thank you for update and yes it turnout to be defect record in AAG00102 table. Once we resolved this it fixed the issue.

    Thank you again

    Best Regards

    Kanti

  • RE: GP 18 (18.00.704) - eConnect Journal integration with AA with duplicate error in AAG10001

    I spoke with someone from the AA team and they suggested that they would run an update AAG00102 script and look for orphans in these two AAG tables.

    Without actually running the eConnect integration, since it works fine on the sample TWO database, it would seem to indicate you're not running into any type of defect with the application, but more an issue with the data in the non-sample company database(s).

    The primary key on the AAG10001 table is looking at the aaGLWorkHdrID and aaGLWorkDistID columns, while the primary key on the AAG10002 table is looking at the aaGLWorkHdrID, aaGLWorkDistID and aaGLWorkAssignID columns.

    Let us know if you have any questions, otherwise an actual support case with our AA team may get you a quicker resolution.

    Thanks

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans