That should only drive the Qty AVAILABLE negative, not the Qty on Hand. But costs for invoices are assigned at the time of the invoice update, since the lots and serials may not be known until invoicing and with LIFO/FIFO it waits until the actual update to determine which layer to use. Same for Physical Count Register, which is why the total on your Variance may not be exactly equal to what actually gets posted to GL.