Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sprint:
      2022.R1 New Features Sprint 6, 2022.R2 New Features Sprint 1
    • SCRUM Team:
      Brotherhood of Mutants
    • Story Points:
      5
    • Work Type Classification:
      Sustaining

      Description

      Story

      As a user, I would like to be able to choose to run the order guide rules when I move a store into the Location - Ad Hoc zone.

      Details

      Currently, when a store is moved into the Location - Ad Hoc zone, the order guide rules for the Ad Hoc zone are not rerun. We would like to change this and give the user the option to rerun the rules right immediately or queue the for rerun later.

      What Should Happen on MMS

      1. Prompt the user with a Modal in MMS when a store is moved into an Ad Hoc zone.
      2. The user is given two options. Rerun order guide rules:
        1. Now
        2. Queue for later
      3. If the answer is "Run Now"
        1. Set the ApplyDate to Null in tbVendorItemZoneRule and kick off the rules job.
      4. If the answer is "Queue for later"
        1. Set the ApplyDate to Null in tbVendorItemZoneRule and do not kick off the job.

      Modal Details

      • Header
        • Title = "Rerun Ad Hoc Order Guide Rules"
      • Body
        • Text = "You are moving a store(s) into an Ad Hoc zone. Would you like to queue and rerun the Order Guide rules from the selected Ad Hoc zone for this store?"
        • Include a radio selection. Options = "Run Now" and "Queue for Later"
          • Default to "Queue for Later"
      • Footer
      • "Cancel" button
        • If the user clicks "Cancel" the store is not moved into the zone.
      • "OK" button
        • If the user clicks "Ok" and the selection is on "Run Now"
          • Move the store(s) into the zone and Set the ApplyDate to Null in tbVendorItemZoneRule. Kick off the job that runs the rules.
        • If the user clicks "Ok" and the selection is on "Queue for Later"
          • Move the store(s) into the zone and Set the ApplyDate to Null in tbVendorItemZoneRule. Kick off the job that runs the rules.
      • Existing MMS Example Modal - For Reference Only

      AC

      Confirm

      1. The user is prompted with the modal when they attempt to move a store(s) into an Ad Hoc zone.
      2. The modal follows the details above
      3. When the user selects "Run Now", the store(s) is added to the zone and order guide rules for the Ad Hoc zone are rerun.
      4. When the user selects "Queue for Later" the store is added to the zone and the order guide rules are rerun later when the scheduled job normally runs.
      5. When the user clicks "Cancel" the store(s) is not added to the zone.
      6. The user is only prompted when moving a store into an Ad Hoc zone and not other zones.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jason.powell Jason Powell
                Reporter:
                jason.powell Jason Powell
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 19h
                  19h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 11h Time Not Required
                  11h

                    PagerDuty

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