The 'ID' field did not always receive the correct sequence number when reporting multiple quantities ready

When an item was produced with the property 'Batch per inventory unit', upon reporting multiple quantities ready using the Report Production Ready button, the field ID was filled with the entered ID along with a sequence number. However, the first created batch did not receive a sequence number.