Details

    • Sprint:
      CFAMX 2019R3 Sprint 2
    • SCRUM Team:
      Brotherhood of Mutants
    • SOW (Time Tracking) Project:
      44918
    • Work Type Classification:
      Sustaining

      Description

      As a store manager I want any draft orders that I have in place when an allocation is ended to account for that change so that I can place an order for an appropriate quantity

      Notes
      There are two scenarios that I can think of:

      1. Allocation Ended - Draft Order created with allocation, allocation ended
        • An order is created, which contains an item that is on allocation
        • The order is saved as draft
        • The allocation is ended
        • The order is submitted
          • In this instance, there is no need to restrict the quantity that the user can order, based on the previously ended allocation
        • Note - this affect all draft orders when ANY existing allocation is ended. When an allocation ends, there isn't a concept of "this is going to be replaced by another allocation" - the system has no way of knowing if the allocation is going to be replaced or not.
      2. Allocation Updated - Draft Order created with allocation, allocation ended, new allocation imported delivery date of draft order falls within new allocation period
        • An order is created, which contains an item that is on allocation
        • The order is saved as draft
        • The allocation is ended
        • A new allocation, for the same item is added, and the allocation period spans the delivery date of the draft order
        • The order is submitted
          • In this instance, the validation should be rerun, on order submission, to take into account the new allocation
        • Note - this will also affect draft orders when ANY new allocation is imported. When an allocation is created, there isn't a concept of "this is replacing an old allocation" - it's always just a brand new allocation.

      Acceptance Criteria

      1. Confirm when an allocation is ended, that was used by a draft order, that the order can be successfully Placed without any allocation restrictions on the quantity ordered
      2. Confirm when an allocation is ended, that was used by a draft order, and a new allocation is created for the same item spanning the delivery date, that allocation validation is performed (using the new allocation) when the order is placed 

        Attachments

          Issue Links

            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 - 18h 10m
                  18h 10m
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 17.2h Time Not Required
                  17.2h

                    PagerDuty

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