Nothing worked, the batch would keep getting put back into recovery.
We eventually discovered a trick that worked to allow us to recover the batches.
- Log into one machine as sa, run an inventory reconcile on everything
- Log onto another machine as another user and run batchrecovery WHILE the reconcile is running on the first machine
- For some reason, it stops trying to access the lot table, and just recovers the batch correctly.
Associated errors:
Transaction not completed at initiating scripts exit, implicitly rolled back.
Unhandled database exception:
A remove operation on table 'IV_Lot_MSTR' failed because the record couldn't be locked.
Other scripts to use
--Make "posted" transactions available
select PSTGSTUS,BACHNUMB ,* from sop10100 where pstgstus > 0
UPDATE SOP10100 SET PSTGSTUS = 0 where PSTGSTUS =12
UPDATE SOP10100 SET PSTGSTUS = 0 where PSTGSTUS =14
select * from sy00500 where BCHSTTUS > 0 and BCHSOURC = 'sales entry'
update sy00500 set BCHSTTUS = 0, MKDTOPST = 0 where BCHSTTUS > 0 and BCHSOURC = 'sales entry'
update iv10001 set unitcost =12.75 where itemnmbr = 'cdrom'
No comments:
Post a Comment