Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Removing a stuck SOP invoice?

Posted on by Microsoft Employee

We have a SOP invoice that is corrupt. It has no information listed with it, and is causing a bunch of problems when we try to export data to excel.

If I run a sales document inquiry for the number, it shows up.

Snap21.jpg

But if I try to run a Reconcile-Remove Sales Document utility, it doesn't show up. Any ideas how I can get rid of this thing?

*This post is locked for comments

  • Tim Wappat Profile Picture
    Tim Wappat 5,701 on at
    RE: Removing a stuck SOP invoice?

    Usually filling in SOP10100 to the point where you can get in to the order then void it.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Removing a stuck SOP invoice?

    Do you by any chance know which table I'm looking at to fill in the missing data?

  • Tim Wappat Profile Picture
    Tim Wappat 5,701 on at
    RE: Removing a stuck SOP invoice?

    I too use this method, bring up the order in SQL tool of choice and chose a health donor record, and "transplant" the fields from one to the other until it can be opened and voided.

  • Suggested answer
    L Vail Profile Picture
    L Vail 65,271 on at
    RE: Removing a stuck SOP invoice?

    Hi,

    I have dealt with this situation many times in my history. For sure run check links and reconcile and all that, but what I usually end up doing is what I call 'file surgery'. If possible, I'll fill in the missing information so that it can be pulled up in the user interface and deleted. The information doesn't have to be correct, it just needs to be good enough to open the document. For instance, if it has no customer id, any customer will work.

    If I cannot get the document open, I search the entire database for the document number. I'll look at the results of that query and determine whether the record needs to be deleted from the table. If there are any inventory items allocated to this document you will need to adjust the IV00102 table and any bin tables if you use multi-bin. I think you'll be good to go if you can get this thing deleted, one way or the other. My preference is always to delete from the user interface if you can.

    Kind regards,

    Leslie

  • Bill Campbell Profile Picture
    Bill Campbell 22,647 on at
    RE: Removing a stuck SOP invoice?

    Do you know which of your users created the document?  Sometimes having that person log off can free a document like this.

    If the checklinks does not work, then you are going to have little choice to but to excess the item from the SQL Tables.  While not complicated, it can be tricky, so be sure before you do anything - including the checklinks - that you have a good working backup.

    Good luck.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Removing a stuck SOP invoice?

    Everyone needs to be logged out of dynamics before check links is run correct? I could possibly try that later tonight, but we have about 30 people logged in currently. No, the document is not assigned to a batch. Thanks!

  • Rosemary Profile Picture
    Rosemary 2 on at
    RE: Removing a stuck SOP invoice?

    Hi,

    Normally in a situation as this I would do a check links first. Is the document assigned to a batch? If yes, is the status 'marked', 'busy', or any other message.

    Just a couple of thoughts.

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,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