Hello everyone,
I have a sales invoice batch that was interrupted while posting and I was able to unmark the batch from posting with SQL query
update sy00500 set MKDTOPST = 0, BCHSTTUS = 0 where BACHNUMB = 'xxx'
then repost all other invoices in the batch but one.
This invoice is still open, but the products on it have been removed from inventory.
I was able to find the invoice number under Item Transaction Inquiry, but when trying to zoom in by clicking on the "Number", it shows the error message "This document has been removed from Sales Order Processing history". The same error message appears when I look up the invoice number under the Receivable Transaction Inquiry and Sales Documents Inquiry window in the "Unposted" option.
I have tried "Reconcile-Remove Sales Documents" and Check Links for Sales (Sales work/Sales history/Receivable open transaction files/Receivable transaction history), it did not work. There is no record exist in the Batch Recovery sales series.
There are a few things found in the SQL tables:
The invoice record exists in open sales transaction tables SOP10100, SOP10200, SOP10201/ receivable tables RM00401, RM20101,
The invoice record does NOT exist in history tables SOP30200, SOP30300/ RM0301, RM30301.
The PSTGSTUS value in my SOP10100 table for this invoice is 252.
It seems that the inventory was updated, and records have been created in receivable tables, but it was interrupted when moving records to sales history tables and deleting them from open tables.
Any help or suggestion is appreciated!
------------------------------
Haitao Yu
IT Manager
Gold Coast Ingredients, Inc
Commerce CA
------------------------------