Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Duplicate Primary Key entries in SOP

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All,

I am hoping someone can help here. We are having an issue at the moment where we are getting frequent duplicate primary key errors in our system. We are using GP 2013. I have asked one of the technical guys to collate the records.  See below the problem invoices.. Does anyone know what would cause GP to give this duplication?

Thanks

SOPNUMBE

SOPTYPE

DOCID

DOCDATE

BACHNUMB

DEX_ROW_ID

DEX_ROW_TS

MMT0420824

3

RTL

12/2/2015 0:00:00

POS20151202

1438726

12/2/2015 14:07:21

MMT0420824

6

MMT

12/3/2015 0:00:00

DRY

1438713

12/2/2015 14:07:21

MMT0420831

3

RTL

12/2/2015 0:00:00

POS20151202

1438757

12/2/2015 15:09:30

MMT0420831

6

MMT

12/3/2015 0:00:00

TEST

1438753

12/2/2015 14:25:51

MMT0420832

6

MMT

12/2/2015 0:00:00

TEST

1438762

12/2/2015 14:56:06

MMT0420832

3

RTL

12/2/2015 0:00:00

POS20151202

1438845

12/2/2015 14:59:12

MMT0420833

6

MMT

12/3/2015 0:00:00

TRK031215

1438770

12/2/2015 14:59:55

MMT0420833

3

RTL

12/2/2015 0:00:00

POS20151202

1438847

12/2/2015 15:00:35

MMT0421065

6

MRT

12/3/2015 0:00:00

TRK031215

1440534

12/2/2015 20:42:23

MMT0421065

3

RTL

12/2/2015 0:00:00

POS20151202

1440580

12/2/2015 20:43:29

 

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Duplicate Primary Key entries in SOP

    Yes we do fulfilment orders...   so what's happening is that some information and items on SOPTYPE 3(invoice) and the items on SOPTYPE 6 gets merged on the fulfilment order..... If we try to correct it in GP it throws up a primary key constraint ... cannot insert duplicate key in object dbo.SOP10100 error.... Thanks

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    RE: Duplicate Primary Key entries in SOP

    Do you do fulfillment orders? SOPTYPE=6 is the fulfillment type. The SOPNUMBE and SOPTYPE are what define these records as unique.

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

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans