Lost batchnumbers from Stock Entry cancelation

Hello everybody,

cancelation of a stock entry related to a serialized item with a batch number assigned leads to the item losing its batch number in the serial number tab. That leads to an error message “Batch number missing…” when trying to make a new stock entry. I always have to reassign the batch with the help of the API.

I tried this with manufacture and repack. Same results, batch numbers are lost.
Also, every other item with the same batch number loses them as well.

They are still visible in the creation document though.

I think this may be a bug.

Kind regards