Allow order fulfillment to start even if no matching stock cards

Description

As Philomena, when I start to fulfill an order even though I do not have stock cards for products in the order, I still want to start fulfillment, so that I can see I have no matching stock cards and cannot fulfill the order at all.

Cannot start an order for local fulfillment, and it gives an error message that is not helpful (see attached screenshot). We don't want to change the error message, but ensure that the error message does not show up just because there are no stock cards for the order.

Acceptance Criteria

  • For a program using the ideal product model (EPI in demo data), ensure that trying to fulfill an order in the ORDERED status takes you to the Fulfill Order screen and does not give an error message

  • For a program using the common product model (Essential Meds in demo data) and the supplying facility does not have any stock cards, ensure that trying to fulfill an order in the ORDERED status takes you to the Fulfill Order screen and does not give an error message

  • Rather than giving an error, the UI allows the user to proceed to the next screen (building the screen is part of a different ticket, )

Attachments

2

QAlity Plus - Test Management

Checklists

Activity

Show:

Nikodem GraczewskiMarch 6, 2018 at 9:29 AM

I like it, thumbs up!

Paweł AlbeckiMarch 5, 2018 at 8:58 PM
Edited

The validation for confirming is already there. It was one of the reasons I decided to have separate resource for draft, we can just remove that validation from shipment draft domain class and shipment does't have to be touched at all.

Klaudia PałkowskaMarch 5, 2018 at 3:34 PM

OK, thanks.

Chongsun AhnMarch 5, 2018 at 3:24 PM

I agree with ; the validation to see if there's anything to ship (shipment line items) should be moved to when a shipment is confirmed. It also makes more sense to the user.

Klaudia PałkowskaMarch 5, 2018 at 10:24 AM

What do you think about moving the validation?

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Original estimate

Time tracking

2d 3h 30m logged1d 2h 30m remaining

Components

Sprint

Fix versions

Priority

Time Assistant

Created February 2, 2018 at 8:46 PM
Updated November 28, 2020 at 12:05 PM
Resolved March 7, 2018 at 8:42 AM