Skip to main content

Notifications

Dynamics 365 general forum

Closing Inventory Year msg - Cannot complete this process while invoices are being posted.

Posted on by 20

Using Microsoft Small Business Financials

 

Inventory

Utilities

Close Inventory Year

 

Message: You cannot complete this process while invoices are being posted.

 

We cannot find any invoices that have not posted. What should we do?

 

361.575.6886 Debbie

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Closing Inventory Year msg - Cannot complete this process while invoices are being posted.

    Hi Debbie,

    Here is a good link regarding you issue.  jpdavey.blogspot.com/.../clearing-locked-dynamics-gp-batches.html

    - Make a backup first of the DYNAMICS and company databases

    - You can run the above mentioned script but the important part is

    --    MAKE SURE EVERYONE IS OUT OF THE SYSTEM before you run this:

       DELETE FROM DYNAMICS..SY00800

       DELETE FROM DYNAMICS..SY00801

       DELETE FROM DYNAMICS..ACTIVITY

       DELETE FROM tempdb..DEX_LOCK

       DELETE FROM tempdb..DEX_SESSION

    ---    View the contents of the above tables

       SELECT * FROM DYNAMICS..Activity

       SELECT * FROM tempdb..DEX_SESSION

       SELECT * FROM tempdb..DEX_LOCK

       SELECT * FROM DYNAMICS..SY00800

       SELECT * FROM DYNAMICS..SY00801

    Thomas

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

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