Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Error in create return

Posted on by 80

Hi

I am entering a sales return through create return , after marking all the items in the invoice to be returned and when i clicked Post Button i got the following error message

Violation of primary key constraint 'PKSVC05000'

and i have to click OK so many times and finally the return is created for only one item out of the selected items and with strange quantities and prices.

GP 10 , SP3 , SQL 2005

Any help

Aboody

*This post is locked for comments

  • Nadir Abdalla Profile Picture
    Nadir Abdalla 80 on at
    Re: Error in create return

    Thanks for your reply and i will try it if i get the same error once again because i entered that return through Actions --> copy to finish it off .

    Sorry for getting back late to you because i was quite busy.

    Thanks

  • Suggested answer
    Richard Whaley Profile Picture
    Richard Whaley 25,195 on at
    Re: Error in create return

    SVC05000 is the returns master table and PK is the primary key for that table.  Looking at the Table Descriptions in Resource Descriptions, this suggests that there is already a return document with the same document number and type listed in the table.  Try increasing the next document number for returns in the setup tables for field service

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

Featured topics

Product updates

Dynamics 365 release plans