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

  • Tim Foster Profile Picture
    Tim Foster 8,515 on at
    RE: GP 2010 PO Records Deleted by Check Links

    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

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,788 Moderator on at
    RE: GP 2010 PO Records Deleted by Check Links

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

  • RE: GP 2010 PO Records Deleted by Check Links

    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
    Richard Wheeler 75,788 Moderator on at
    RE: GP 2010 PO Records Deleted by Check Links

    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.

  • Tim Foster Profile Picture
    Tim Foster 8,515 on at
    RE: GP 2010 PO Records Deleted by Check Links

    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

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,430 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans