Uploaded image for project: 'ui-orders'
  1. ui-orders
  2. UIOR-879

Check for potential duplicate order lines - When Opening order

    XMLWordPrintable

Details

    • ACQ Sprint 148
    • Thunderjet
    • Nolana R3 2022
    • Cornell

    Description

      Purpose: Help prevent the library from ordering materials they do not need. 

      User story statement(s):

      When creating orders and saving as pending or opening. System will check for duplicates based on title and product Id's. If found the user will be intercepted by a modal that displays possible duplicates. The user will be able to continue or cancel operation.

      Scenarios:

      1. Scenario:
        • Given user is view PO
        • When user clicks open in actions menu
        • Then FOLIO checks for potential duplicate POLs by matching Title Name and Product IDs
        • AND if found user is presented the possible duplicates modal before PO is opened (settings - Opening purchase ordersDisable duplicate check that occurs when opening orders and saving purchase order lines is not checked)
      2. Scenario:
        • Given user is presented possible duplicates modal
        • When Order lines are displayed
        • Then columns include the same columns shown in order lines search result list
          • POL number
            Duplicate POL number
            Updated date
            Title or package name
            Product ID
            Vendor reference number
            Fund code
            Order status
      1. Scenario:
        • Given user does not consider the order line a duplicate
        • When user clicks Submit
        • Then modal is dismissed and order is opened successfully
      2. Scenario:
        • Given user does consider the order line a duplicate
        • When user clicks Cancel
        • Then modal is dismissed and order is NOT opened
      3. Scenario:
        • Given user is shown the duplicates modal
        • When multiline order has more than one POL with a match
        • Then table includes a column for Duplicate POL number
        • AND the number is a hyperlink

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Andrei_Makaranka Andrei Makaranka
                dennisbridges Dennis Bridges
                Dennis Bridges Dennis Bridges
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:

                  TestRail: Runs

                    TestRail: Cases