SOH can be 0 in Shipment for some products even if it is above 0 on the SOH screen

Description

I noticed an issue while executing OLMIS-4170. After fulfilling an order in such a way that SOH levels of all ordered products should change to 0 and trying to fulfill another order, the SOH on the "View Shipment" view was displayed as "No stock available" but on the "Stock on Hand" screen, the values for two products were above zero:

  • tetanus10 (No stock available on View Shipment; 7 on SOH UI and print),

  • bcg20 (No stock available on View Shipment; 11 on SOH UI and print).

For orders created based on new requisitions, not demo-data one, SOH also shows as No stock available for those products.

Reproduction steps:

  • Execute steps 1-12 from the test case.

Environment

None

Assignee

Sebastian Brudziński

Reporter

Joanna Bebak

Time tracking

8h

Components

Sprint

None

Priority

Major
Configure