Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Batch interrupted while transferring from order to invoice

(0) ShareShare
ReportReport
Posted on by

Batch interrupted while transferring from order to invoice, now 2 of the orders keep saying they being edited by another user, I even ran the below script

UPDATE SY00500 SET MKDTOPST=0, BCHSTTUS=0 where BACHNUMB='EOS1608151030JH'

But still it says its being edited by another user.

*This post is locked for comments

  • Suggested answer
    HACKDBA Profile Picture
    HACKDBA 165 on at
    RE: Batch interrupted while transferring from order to invoice

    I have also had this occur.  Below is the email I sent myself that I used to resolve the issue.

    I got the issue resolved.  So I noticed USER1 has the only PM batch open.  So I ran the following steps to determine who might have the stuck record open which was causing USER2 the problems in her batches.

    --Step 1 – Get the SQLSESID from the Activity Table

    SELECT [USERID]

         ,[CMPNYNAM]

         ,[LOGINDAT]

         ,[LOGINTIM]

         ,[SQLSESID]

         ,[Language_ID]

         ,[DEX_ROW_ID]

     FROM [DYNAMICS].[dbo].[ACTIVITY]

    GO

    --Step 2 – Look to see who’s session  id has dex rows in the temp table and take note of it.

    USE tempdb

    SELECT [session_id]

         ,[sqlsvr_spid]

     FROM [tempdb].[dbo].[DEX_SESSION]

    GO

    --Step 3 – See exactly what session id has an exclusive lock in the Dex_Lock temp table and in this instance user1 was the only user.

    USE tempdb

    SELECT [session_id]

         ,[row_id]

         ,[table_path_name]

     FROM [tempdb].[dbo].[DEX_LOCK]

    GO

    Based on all of that I conclude the only person who had anything PM related open was USER1.  I asked her to log out and ran step 3 again with no entries in the table.  I then had USER2 log in and see if she got the error.  She did not.  

  • Rosemary Profile Picture
    Rosemary 4 on at
    RE: Batch interrupted while transferring from order to invoice

    Hi,

    Did you get through with this?

  • Suggested answer
    RE: Batch interrupted while transferring from order to invoice

    Check the DYNAMICS..SY00800 table.  If it has a record in there is thinks it is being edited by another user.  Simply delete the record for that transaction and it will free it it.

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,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans