Delete action causing a Negative Qty RowMow Add to the PartWip table

Does anyone know why in the world Epicor logic would be adding a negative qty in a Table Add to the PartWip table when a Receipt Line is unreceived in Receiving Entry. We had a couple of Bin location errors we need to clean up from a bad PO Receipt and when we unreceived the lines it screwed up the QTYs in PartWip table by adding a new row to the table with a negative qty.