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

          Issue Links

          There are no Sub-Tasks for this issue.

            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.