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

Testing-Sprint-6-2021.R6 : SO - Min/Max: Add "Zeros" to the Min/Max Caluclation

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • SCRUM Team:
      Great White
    • Story Points:
      5
    • Work Type Classification:
      Sustaining

      Description

      Story

      As an admin, I would like the option to include "Zeros" in the order average when calculating the Min/Max for an item.

      Details

      "Zero" definition - In this case, the reference to zero in the average calculation refers to an occasion when an order is submitted to a vendor and an item provided by that vendor is unordered. For example:

      • The user creates an order for a vendor that sells 3 items: Lettuce, Tomatoes, and Onions.
      • The user submits the created order with the following details:
        • 3 units - Lettuce
        • 3 units - Tomatoes
        • 0 units - Onions

      If we were calculating an average for the last 5 "Onion" orders, this order example would count towards that average as "Zero".

      We also want to make this a user-selectable option.

      In MMS "Corporate > Admin > Corporate Rules Setup > Min/Max Rules" we need to add a selectable option to allow the user to include or exclude these zero values.

      The title of this option is "Include Zeros in Average". This should be a checkbox option below the "Standard Deviation" section in "Min/Max Rules".

      UI Details

      • Same vertical padding and spacing as the other options in the list
      • Checkbox left justified below the text entry boxes
        • Default state: Unchecked

      Wireframe

      Acceptance Criteria

      Confirm

      1. A new option in "Corporate > Admin > Corporate Rules Setup > Min/Max Rules" is available:
        1. Title: Include Zeros in Average
        2. A checkbox defaulted to unselected
      2. With the box Selected:
        1. The average for the number of orders in question is calculated including zero values
      3. With the box Unselected:
        1. Zero values are ignored and the average is calculated using only orders with non-zero values
      4. With the box either Selected or Unselected:
        1. The math for each average is correct and calculated based on the correct number of orders configured.

        Attachments

          Issue Links

          1.
          Create Test Scripts QA Task Done Unassigned

          0%

          Original Estimate - 0.5h
          Time Not Required
          2.
          Review Test Scripts QA Task Done Unassigned

          0%

          Original Estimate - 0.5h
          Time Not Required
          3.
          Deploy QA Task Done Unassigned

          0%

          Original Estimate - 0.5h
          Time Not Required
          4.
          Execute Test Cases QA Task Done Unassigned

          0%

          Original Estimate - 0.5h
          Time Not Required
          5.
          Functional Review with QA Dev Task Done Unassigned

          0%

          Original Estimate - 0.5h
          Time Not Required
          6.
          DIT Dev Task Done Unassigned

          0%

          Original Estimate - 0.5h
          Time Not Required
          7.
          Design Review Dev Task Done Unassigned

          0%

          Original Estimate - 0.5h
          Time Not Required
          8.
          Story Documentation Dev Task Done Unassigned

          0%

          Original Estimate - 0.5h
          Time Not Required
          9.
          Testing in testing QA Task Done Charles Wheeler

          100%

          Original Estimate - 24h
          Time Spent - 24h
          10.
          Testing in staging QA Task Done Charles Wheeler

          100%

          Original Estimate - 24h
          Time Spent - 8h Time Not Required

            Activity

              People

              • Assignee:
                charles.wheeler Charles Wheeler
                Reporter:
                jason.powell Jason Powell
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 52h
                  52h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 32h Time Not Required
                  32h

                    PagerDuty

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