Steps to regenerate the issue:
- Create a serialized product and receive single inventory item (feed serial number) of the specific product.
- Check the status of the inventory item in InventoryItem and InventoryItemStatus entities it should be INV_AVAILABLE.
- Create sales order of this serialized product.
- Status of the inventory item in InventoryItem entity is changed to 'INV_PROMISED' but InventoryItemStatus entity still shows 'INV_AVAILABLE'.
In InventoryItemStatus current status should also be 'INV_PROMISED' as of InventoryItem.