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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

GP 2010 PO Records Deleted by Check Links

(0) ShareShare
ReportReport
Posted on by 75,848 Moderator
Can anyone tell me what would cause check links to delete every record in the POP30310 table? I had run check links and received a long list of records removed. Then a user went in to look for a receipt on a PO and the PO receipt header(POP30300) was there but none of the detail. I started snooping around and discovered that every record in the POP30310 table was gone. None of the POs had ever been moved to history so I not sure why they were even in that table. Fortunately I had a backup in place and restored but before I run check links again I want to fix whatever caused check links to delete them.

*This post is locked for comments

I have the same question (0)
  • Tim Foster Profile Picture
    8,515 on at

    Richard,

    The only time I have seen check links delete records from POP30310 is when the header record in POP30300 has been removed or is missing.

    The only way records get into POP30100/30310 is via the Remove Completed Purchase Order routine (or someone with SQL skills and little Dynamics GP knowledge).

    Is there anything odd about the PO Numbers?  Special characters?  

    ??

    Tim

  • Richard Wheeler Profile Picture
    75,848 Moderator on at

    That is what is so strange. The POP30300 table is full populated and many of the PO's in the POP30300 and POP30310 tables are still in the POP10100 and POP10110 tables. There are no records in the POP30100 and POP30110 tables. I have script in place that will restore those two tables but I find this very odd. If need be I will restore the entire company database to a test company and then copy from test to production.

  • Community Member Profile Picture
    on at

    One options would be to check the check links stored procedures and to  check on condition which issues a delete statement.

    dynamicsgpblogster.blogspot.com/.../how-does-check-links-work.html

    Unfortunately Check links stored procedures relating to POP is not converted to stored procedures or the list at the links needs further updates.  Scanned for existence of  POPCL*.* stored procs - there were none.

    The next best option would be running check links with Dex SQL Logs turned on.

    Cheers!

    Sanjay

  • Richard Wheeler Profile Picture
    75,848 Moderator on at

    Good point. Hey that is why you create test databases. Try something out and see if it smokes. I will give this a try.

  • Tim Foster Profile Picture
    8,515 on at

    Whoops!  Should have read your post more carefully...I got mixed up with the POP30100/POP30110 tables (Purchase Orders).  The Routine to push POP10100/POP10110 is as I said.

    You're talking about POP30300/30310 (Receipts).  Receipts get pushed to History table as they are posted.  The receipts table doesn't care where the PO's are since POP10100/POP30100 and POP10110/POP30110 are matched tables and unioned in dexterity/sql.  

    If check links deleted all the records POP30310 then my original premise of missing/deleted POP30300 records causing deletion still holds.  Also, check links might reference POP10500.  Still makes no sense...

    Tim

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

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)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans