Type: Tech Debt
Status: Open (View Workflow)
Affects Version/s: None
Fix Version/s: None
Sprint:ACQ Sprint 66
This story is a continuation of
Need to handle POL’s receipt status update in “Receiving/Check-in” flow
- This should be removed https://github.com/folio-org/mod-orders/blob/master/src/main/java/org/folio/rest/impl/CheckinHelper.java#L56 because we already have logic which will do this.
- This should be removed https://github.com/folio-org/mod-orders/blob/master/src/main/java/org/folio/rest/impl/ReceivingHelper.java#L66 because we already have a logic which will do this
In both helpers org.folio.orders.utils.HelperUtils#updatePoLineReceiptStatus is used.
This builds upon the vertx eventBus work done in
- poLine.receiptStatus is "calculated" whenever a related piece record's receivingStatus is changed. This happens asynchronously via the vertx event bus.
- Unit tests are updated
- API tests are updated