A batch is held in the Posting, Receiving, Busy, Marked, Locked, or Edited status in Microsoft Dynamics GP
Here's an easy fixTo clear the SY00800 Batch Activity table and update the batch status in the SY00500 batch table automatically, click the Download button. In the File Download dialog box, click Run or Open, and then follow the steps in the easy fix wizard.
- This wizard may be in English only. However, the automatic fix also works for other language versions of Windows.
- If you’re not on the computer that has the problem, save the easy fix solution to a flash drive or a CD, and then run it on the computer that has the problem.
Let me fix it myselfEasy fix 50435
Click here to view or hide detailed information
Follow these steps to fix this problem yourself:
NoteAll scripts that are in the "Resolution" section must be run in a query tool. To open the appropriate query tool, follow these guidelines:
- If you are using Microsoft SQL Server 2000, run the statement in Query Analyzer. To open Management Studio, click Start, point to Programs, point to Microsoft SQL Server 2000 and then click Query Analyzer. To run a script, click New Query.
- If you are using Microsoft SQL Server 2005, run the statement in Microsoft SQL Server Management Studio. To open Management Studio, click Start, point to Programs, point to Microsoft SQL Server 2005 and then click SQL Server Management Studio. To run a script, click New Query.
- If you are using Microsoft SQL Server 2005 Express, run the statement in Microsoft SQL Server Management Studio Express. To open Management Studio Express, click Start, point to Programs, point to Microsoft SQL Server 2005 and then click SQL Server Management Studio Express. To run a script, click New Query.
- If you are using Microsoft SQL Server 2008, run the statement in Microsoft SQL Server Management Studio. To open Management Studio, click Start, point to Programs, point to Microsoft SQL Server 2008 and then click SQL Server Management Studio. To run a script, click New Query
- Make sure that you have a current backup of the company database, and ask all users to exit Microsoft Dynamics GP. To create the backup in Microsoft Dynamics GP, follow the appropriate steps after all users log off from Microsoft Dynamics GP:
- On the File menu, click Backup.
- In the Company Name list, click the company that you want to back up.
- In the Select the backup file box, click the yellow folder to open the location in which you want to put the backup file.
- In the Object Explorer, Expand your databases so you see the database you want to back up.
- Right click the Database Name, go to Tasks, and select Backup.
- Click the add button and select the location and file name you wish to save your backup to.
- Click Ok to start the backup.
- View the contents of the following tables to verify that all users are logged off: DYNAMICS..ACTIVITY, DYNAMICS..SY00800, DYNAMICS..SY00801, TEMPDB..DEX_LOCK, and TEMPDB..DEX_SESSION. To do this, run the following script.Note When all users are logged off from Microsoft Dynamics GP, these tables will not have any records in them.
SELECT * FROM DYNAMICS..ACTIVITYSELECT * FROM DYNAMICS..SY00800 SELECT * FROM DYNAMICS..SY00801 SELECT * FROM TEMPDB..DEX_LOCK SELECT * FROM TEMPDB..DEX_SESSION
- If no results are returned, go to 'Step 4'. Otherwise, clear the stuck records by using any of the following appropriate scripts.
DELETE DYNAMICS..ACTIVITY DELETE DYNAMICS..SY00800 DELETE DYNAMICS..SY00801 DELETE TEMPDB..DEX_LOCK DELETE TEMPDB..DEX_SESSION
- Run the following script against the company database. Replace XXX with the batch number or the name of the batch that you are trying to post or select in Microsoft Dynamics GP.Note The value of BACHNUMB is the same as the value of the Batch ID window in Microsoft Dynamics GP.
UPDATE SY00500 SET MKDTOPST=0, BCHSTTUS=0 where BACHNUMB='XXX'
- Verify the accuracy of the transactions.
- Verify that you can edit and post the batches.
Article ID: 850289 - Last Review: 10/14/2015 15:53:00 - Revision: 21.0
- kbtshoot kbprb kbmbsmigrate kbmsifixme kbfixme kbcip KB850289