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

M2 - Transfers: Transferred Percentage Pill Part 2

    Details

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

      Description

      Story

      As a user, I would like to see the percentage of my existing stock would be transferred as I fill out the Create Transfer page.

      Request for Developer

      Please double check the code that exists in MXC and confirm that the description below is accurate for how the percentage is calculated. Thanks.

      Update Details

      This story is for creating the percentage calculation that updates the displayed value in the pill as the user types values.

      • The pill at the end of an inventory item row in Create Transfer provides the user with the percentage of the existing on-hand inventory that will be transferred out of inventory.
      • The percentage is calculated based on the Quantity on Hand number in the data row and the sum of the user entered values from the Case, Inner, and Unit fields.
        • ((Sum of CASE, INNER, UNIT)/Quantity On Hand)*100 = Transferred Percentage
      • The percentage data calculates and updates as the user updates any of the Case, Inner, or Unit fields.
      • The percentage can go over 100%
      • The percentage can not go below 0%
      • If the Quantity on Hand value is less than or equal to ZERO and the sum of the Case, Inner, and Unit fields is greater than ZERO, always show "100%" in the pill.

      AC

      Confirm

      1. The percentage in the pill is updated as the user types a value in any of the Case, Inner, or Unit fields.
      2. The percentage displayed is accurate based on the formula and details above.

        Attachments

        1. image-2021-12-22-16-40-54-532.png
          103 kB
          David Craft
        2. image-2021-12-22-16-41-22-413.png
          26 kB
          David Craft
        3. PercentagePills2.png
          219 kB
          Jason Powell

          Issue Links

          1.
          Create Test Scripts QA Task Done Gareth Leibbrandt (Inactive)

          100%

          Original Estimate - 0.5h Original Estimate - 0.5h
          Time Spent - 1h
          2.
          Review Test Scripts QA Task Done Unassigned

          0%

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

          100%

          Original Estimate - 0.5h
          Time Spent - 0.5h
          4.
          Execute Test Cases QA Task Done Gareth Leibbrandt (Inactive)

          100%

          Original Estimate - 0.5h Original Estimate - 0.5h
          Time Spent - 1h
          5.
          Functional Review with QA Dev Task Done John Rust

          100%

          Original Estimate - 0.5h
          Time Spent - 0.5m Time Not Required
          6.
          DIT Dev Task Done John Rust

          100%

          Original Estimate - 0.5h
          Time Spent - 0.5h
          7.
          Design Review Dev Task Done John Rust

          100%

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

          0%

          Original Estimate - 0.5h
          Time Not Required
          9.
          Research Calc QA Task Done Unassigned

          100%

          Original Estimate - 2h
          Time Spent - 2h
          10.
          Apply Calculation QA Task Done Unassigned

          100%

          Original Estimate - 3h Original Estimate - 3h
          Time Spent - 8h

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 9h Original Estimate - 9h
                  9h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 13h 1m
                  13h 1m

                    PagerDuty

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