Uploaded image for project: 'mod-orders'
  1. mod-orders
  2. MODORDERS-216

Update order status to "Open" when backing out receipt of materials

    XMLWordPrintable

    Details

    • Template:
    • Development Team:
      Thunderjet

      Description

      Overview:
      In MODORDERS-215 we update the order status as part of the receiving flow. In the case where we back-out or "unreceive" pieces from receiving history, we need to again make sure the order status is updated appropriately.

      PO status should be updated to "Open" by the receiving flow if:

      • not all PoLines have:
        (paymentStatus == "Not required" OR paymentStatus == "Fully paid") 
        AND 
        (receivingStatus == "Fully received" OR receivingStatus == "Receiving not required")
        

      Dennis Bridges to check with the small group on whether a notification is required/desired in this case, and the preferred mechanism for such notifications (toast/email/confirmation modal/etc.)

      Acceptance criteria:

      • The business logic described above has been implemented
      • Unit tests have been updated
      • API tests have been updated

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                cmcnally Craig McNally
                Reporter:
                cmcnally Craig McNally
                Tester Assignee:
                Dennis Bridges Dennis Bridges
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases