RE: Batch stuck in batch recovery, won't recover - error message
The batch Is there in Batch Recovery when opening the window, but when you click to recover it doesn't recover.
The error in the previous post IS the error when trying to post. The error that appears when trying to recover the batch references a SQL duplicate on tables RM00400 or RM00401.
I have run the SQL queries for standard stuck batches:
SELECT * FROM DYNAMICS..ACTIVITY
SELECT * FROM DYNAMICS..SY00800
SELECT * FROM DYNAMICS..SY00801
SELECT * FROM TEMPDB..DEX_LOCK
SELECT * FROM TEMPDB..DEX_SESSION
If you get answers / results to any of the above, make sure everyone is in fact logged out of GP and then run the following scripts to clear the tables.
DELETE DYNAMICS..ACTIVITY
DELETE DYNAMICS..SY00800
DELETE DYNAMICS..SY00801
DELETE TEMPDB..DEX_LOCK
DELETE TEMPDB..DEX_SESSION
Then run the following against the company database:
UPDATE SY00500 SET MKDTOPST=0, BCHSTTUS=0 where BACHNUMB=’SEP16CRS’
With no fixing it.
Anyone have any idea how to release this cash receipt batch?
Thanks!