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

Testing (S3.R2) UOM Update: Maintain Order Guide Save Logic to work like MMS

    Details

    • SCRUM Team:
      Great White
    • Story Points:
      3
    • Work Type Classification:
      Sustaining

      Description

      Story

      As a user, I would like my order guide selection to update the purchase unit of an entity item in all cases.

      Details

      The intention of this story is to make sure that the user's decision about what does and does not make it into the order guide is honored. When the user makes a choice to deselect an active item in the guide, we need to confirm that the UOM associated with that active remaining choice is what shows up in the order. Please see the example below.

      Assuming there are multiple active vendor items assigned to the same inventory item and a vendor entity relationship exists between all items.

      Example:

      • There are 2 vendor items, Large Cup Box and Small Cup Box, in the order guide that are associated with the same inventory item
        • Each vendor item is active and is related to the same inventory item.
        • Large Cup Box has a purchase unit value of 10 sleeves of 50.
        • Small Cup Box has a purchase unit value of 10 sleeves of 25.
      • The user deselects Large Cup Box in the order guide.

      If the user has not made any adjustments to the order guide, the default purchase unit value for the inventory item in the example above is 10 sleeves of 50 as that value is the largest. When the user deselects Large Cup Box in the order guide, the purchase unit of the inventory item should update to 10 sleeves of 25 as the user has intentionally selected that item.

      This behavior should also persist if there are more than 2 vendor items assigned to the same inventory item. For example, we add Medium Cup Box to the mix. Medium Cup Box has a purchase unit of 20 sleeves of 20. Now there are 3 active vendor items and the user deselects 1; Large Cup Box. The purchase unit should update to the Medium Cup Box value as this is the largest remaining UOM.

      2 Vendors: Same Item - Store and Item

      • Store: 0440
        • Vendor 1: Chick-fil-A Supply
          • 101726 Cups
        • Vendor 2: Martin-Brower
          • 101726 Cups

      AC

      Confirm - Assuming the user has intentionally deselected one (or more) vendor items.

      1. The UOM of an Inventory Item is defined by the user selection in the order guide.
        1. If the UOM of a deselected vendor item is updated, the user selection continues to be honored.
        2. If a new vendor item is imported, meaning there are now three (or more) active vendor items, the purchase unit of the inventory item is updated to the largest UOM based on what is still active in the order guide.
      2. If there are more than 2 vendor items and the user deselects one and leaves more than one selected, the purchase unit of the inventory item is updated with the largest remaining selected UOM.
      3. If the user has deselected all the vendor items, the inventory item is updated with the largest purchase unit available.
        1. If a new vendor item is introduced, update the purchase unit with the largest active UOM.
      4. The correct purchase unit displays entity items.

        Attachments

          Issue Links

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

                    PagerDuty

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