Uploaded image for project: 'CFA MX '
  1. CFA MX
  2. CFAMX-6252

Create Order - Display Scheduled Orders on the Orders tab

    Details

    • Sprint:
      CFAMX 2020R1 Sprint 1, CFAMX 2020R1 Sprint 2
    • SCRUM Team:
      Brotherhood of Mutants
    • Story Points:
      5
    • SOW (Time Tracking) Project:
      44918
    • Work Type Classification:
      Sustaining

      Description

      As an operator I want Scheduled Orders to be displayed on the Orders tab so that when I visit the create order page I know that I have a scheduled order that I need to create

      Notes

      1. Display scheduled orders on the Orders tab
      2. Default to the Order tab, even when a Scheduled Order is present
      3. Change the name of the Suggested Orders tab to be Scheduled Orders
      4. Display toast message when viewing an order to let the user know that the order will be Auto Submitted
      5. The order will be displayed in different states:
        Scenario State Order # Status Button
        1 Scheduled, not yet created Scheduled Pending Create Order
        2 Order Manually Created & Saved Draft In Progress Review & Submit *
        3 Order Manually Created & Submitted OrderNumber Placed View
        4 Order Manually Created & Deleted Scheduled Pending Create Order **
        5 Order Manually Created, Submitted & Cancelled OrderNumber Cancelled View
        6 Order Auto Created Draft In Progress Review & Submit *
        7 Order Auto Created & Deleted Scheduled Pending Create Order ***
        8 Order Auto Created & Manually Submitted OrderNumber Placed View
        9 Order Auto Created & Auto Submitted OrderNumber Placed View
        10 Order Auto Created, Submitted & Cancelled OrderNumber Cancelled View
        * This is different to the current behavior
        ** Deleting resets the process, like the order was never created
        *** A deleted auto created order, will NOT be auto (re)created, but can be manually created

      Acceptance Criteria

      1. Confirm when an order schedule is created, and the Order date is for the current store date, and the order has not yet been created, the record is displayed on the Orders tab
      2. Confirm when an order schedule is created, and the Order date is NOT for the current store date, and the order has not yet been created, the record is NOT displayed on the Orders tab.
        • Note: Only show those orders that should be placed today
      3. Confirm that once an order has been created based on an order schedule, it is displayed on the Orders tab (Whether created from schedule for a past, current or future day)
      4. Confirm that if an order has been created based on an order schedule, but not yet submitted, the button displays Review & Submit, not View (like ad hoc orders)
        • Note: This is how it works on the Suggested Orders tab
      5. Confirm that clicking on Create Order loads the Orders tab, even when there is a scheduled order for the current day
        • Note: this is a change to the current behavior
      6. Confirm that when an Order is created manually from an order schedule a toast message is displayed to let the user know that the order will be Auto Submitted
      7. Confirm that when an Order is created manually from an order schedule, and the Draft order is viewed a toast message is displayed to let the user know that the order will be Auto Submitted
      8. Confirm that when an Order is auto created from an order schedule, and a user views the order, a toast message is displayed to let the user know that the order will be Auto Submitted
      9. Confirm that when an ad hoc order is created the user does not see a toast message pertaining to the order being auto submitted
      10. Confirm that the Suggested Orders tab is renamed Scheduled Orders

      The "Order Date" for an Order Schedule (order not yet created) should be: <today's date> <cutoff time>
      The "Cover Until Date" for an Order Schedule might be the Frequency in days plus the Delivery Date.
      Once an order is no longer in Draft mode, the toast message saying "this order will be auto-submitted at..." won't display anymore. Only Draft orders would ever be auto-submitted.

        Attachments

        1. SchedOrd.png
          SchedOrd.png
          60 kB
        2. SchedToast.png
          SchedToast.png
          45 kB

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                will.englefield Will Englefield (Inactive)
                Reporter:
                will.englefield Will Englefield (Inactive)
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 45h
                  45h
                  Remaining:
                  Time Spent - 36.5h Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - 36.5h Remaining Estimate - 2h Time Not Required
                  36.5h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.