Uploaded image for project: 'ui-inventory'
  1. ui-inventory
  2. UIIN-195

Add Locations Section to Inventory Item Record Incl Permanent Location




      Purpose: To enable the ability to specify both permanent and temporary locations at both the holding and item level, we need to add permanent location to the item (it only has temp now). There are other changes coming for the item record layout and fields but the scope of this story is really just adding the permanent location field.

      User story:

      • As a library administrator
      • I want to be able to assign a permanent location to an item that differs from the permanent location of the holding
      • So that I can indicate that one item lives in a different location without having to create a whole new holding


      1. Scenario
        • Given a the create, edit and view modes of an item record (in Inventory app) CB: Removed requirement to add Locations section to created and edit views per comment from charlotte on UIIN-194. The section will be added as part of later stories.
        • When displayed
        • Then a new "Locations" section header should be displayed as shown in the attached mockup
          • Should be collapsible
          • Open by default
      2. Scenario
        • Given a the new Location section on the item record in Inventory
        • When displayed
        • Then the following fields should be displayed as shown in the attached mockup
          • "Holding location" subheader
            • "Permanent location" field, read-only (already exists)
            • "Temporary location" field, read-only (being added in UIIN-194)
          • "Item location" subheader
            • "Permanent location" field (new in this story)
            • "Temporary location" field (already exists)
            • Out of Scope: Effective Location for this Item
      3. Scenario
        • Given a the create and edit modes of an item record (in Inventory app)
        • When displayed
        • Then the new Permanent location field should be editable:
          • Should allow users to select a location using the "location selection menu" as described in STSMACOM-82
          • Should also allow users to browse and select locations using the "locations lookup popup" described in STSMACOM-79
      4. Scenario
        • Given the Permanent location and Temporary location on the item record
        • When displayed
        • Then the default menu value should be "Inherit from holding" blank (just until we implement UIIN-218)
      5. Scenario
        • Given I am attempting to assign a permanent location via the location selection menu or the location lookup popup
        • When the location record has a status of inactive (to make a location inactive, go to Settings > Organization > Locations)
        • Then a confirmation popup should be generated:
          • Header: Inactive location
          • Body: This location has a status of inactive. Are you sure you want to select this location?
          • Buttons: Select, Cancel
      6. Scenario
        • Given the select button
        • When clicked
        • Then the location should be selected
      7. Scenario
        • Given the cancel button
        • When clicked
        • Then the location selection should be cancelled and the popup should close

      TestRail: Results


          Issue Links



                nielserik Niels Erik Gilvad Nielsen
                cboerema Cate Boerema
                0 Vote for this issue
                1 Start watching this issue



                  TestRail: Runs

                    TestRail: Cases