{"section":"known-issues","requestedLocale":"en","requestedSlug":"total-reservation-item-with-negative-value-in-inventory-ui","locale":"en","slug":"total-reservation-item-with-negative-value-in-inventory-ui","path":"docs/en/known-issues/Logistics/total-reservation-item-with-negative-value-in-inventory-ui.md","branch":"main","content":"## Summary\n\n\n\nA specific scenario in which more than one order is placed with the same sku and coming from the same warehouse, can leave the reservation number negative in the inventory UI.\n\n**Specific scenario:**\norder A: 4 units of the sku X from warehouse 1;\norder B: 6 units of the sku X from warehouse 1;\n\norder A: `status=handling`, the reservation acknowledge;\norder B: `status=window-to-cancel`, the reservation is not acknowledge yet;\n\nAfter this the merchant update the inventory considering the units from order A as delivered, if the merchant cancels the order A, and then later move the order B to `status=handling` (acknowledge the reservation), this will leave the inventory UI with -4 of this sku as reserved.\n\n\n##\n\n##\n\n## Simulation\n\n\n\n1- Update inventory for sku X with 10 units from warehouse 1;\n2- Create an order A with 4 units of sku X from warehouse 1;\n3- Create an order B with 6 units of sku X from warehoue 1;\n4- Move order A to `status=handling` (this will acknowledge the reservation);\n5- Update inventory for sku X with 6 units from warehouse 1 (which is the number you still have for order B);\n6- Cancel order A;\n7- Move order B to `status=handling` (this will acknowledge the reservation);\n8- Check inventory for sku X in warehouse 1, it will have -4 units reserved.\n\n\n\n##\n\n##\n\n## Workaround\n\n\n\nThere is no workaround available."}