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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Void Historical Transactions

(0) ShareShare
ReportReport
Posted on by 70

We just installed GP 2015 and are trying to void a wire. 

When we go Purchasing>Void Historical Transactions and enter a Vendor ID the application spins. When I go to SQL Server, the task is sleeping with no CPU or I/O. The Accounting group reports that it does not do the same for Vendors with Checks. We are using GP 2015. The Accounting area did say this was slow in the 2010 version. Any reason why the SQL SPID would stay sleeping without CPU or I/O? The Client continues to wait. 

Categories:
I have the same question (0)
  • Richard Wheeler Profile Picture
    75,848 Moderator on at

    I would perform a backup and while no one is in GP run check links on the purchasing series. I suspect corrupt data.

  • PBoor Profile Picture
    70 on at

    Well it looks like another SPID session was running and getting info back. As we continue to investigate, is there any reason why the data to return on this screen would take minutes to an hour? is there maintenance or an index tweak that would help? We are attempting to void a wire and are in a wait on the Void Historical Payables Transaction screen.

  • PBoor Profile Picture
    70 on at

    Richard are you familiar with the screen? It appears to be locked and awaiting a long running query. I am waiting for the screen to unlock so I can change the calendar dates and void the payment. Is this always a case of corrupt data or are there other tweaks?

  • Richard Wheeler Profile Picture
    75,848 Moderator on at

    With everyone out of GP run this script in GP:

    SELECT * FROM DYNAMICS..ACTIVITY

    SELECT * FROM DYNAMICS..SY00800

    SELECT * FROM DYNAMICS..SY00801

    SELECT * FROM TEMPDB..DEX_SESSION

    SELECT * FROM TEMPDB..DEX_LOCK

    If any records are returned run these

    DELETE DYNAMICS..ACTIVITY

    DELETE DYNAMICS..SY00800

    DELETE DYNAMICS..SY00801

    DELETE TEMPDB..DEX_SESSION

    DELETE TEMPDB..DEX_LOCK

    Then perform a backup and run check links in GP against the purchasing series. It sounds like some corruption has followed you since GP 2010. Let me know if this helps and if it does not let me know the size of your company database.

  • Richard Wheeler Profile Picture
    75,848 Moderator on at

    By the way, it also wouldn't hurt to stop and start SQL. When was the last time the server was restarted?

  • PBoor Profile Picture
    70 on at

    I was able to get back to this. There are not alot of options when querying from the Void Historical screen. When you enter the VendorID it spins and spins. 

    When looking at the SQL Trace

    exec TLI.dbo.zDP_CM20200N_3 25,'WIRES-TCFL     ','CASH                 ',4,265055,'WIRES-TCFL','CASH',3,'WIRES-TCFL','CASH',4

    Continues to get called again and again and again. I ran the check links against the Payables which did not resolve this issue. Are there any obvious indexes missed? is there a trick to query or filter to reduce the run time? the size of the DB is 145 Gig

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans