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

Settings page. Inventory > Instances, Holdings, Items > Statistical code types



    • Story
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • 1.5.0


      Purpose: In Inventory we use the Statistical code element block; which consist of the The Statistical code type which is defined as a select list in the Instance record, the accordion Administrative data, and a free text field for the Statistical code data. The statistical code element block is repeated in Instance, Holdings and Item records (and later to be implemented in Container record as well).

      As a cataloger admin, I want to review and manage the list of Statistical code type values.

      [When re-visiting the UX wireframe for Statistical code types with the MM-SIG on 11/15/2018 and also discussing the Statistical codes and Statistical code names - UIIN-385, then the SIG decided to have preloaded Statistical code types].
      Sample Statistical codes with Statistical code types are defined by uChicago: https://docs.google.com/spreadsheets/d/1J1tdCV3Mn7q9a2roWvOS0q2BHlT17vOkf0MQx29zxRc/edit#gid=0
      This story is updated according to the updated requirements

      We also need to build in a check - so you can't delete a Statistical code type if in use (see UIIN-385).


      1. Scenario
        • Login to FOLIO snapshot stable, and go to Settings
        • When selecting Inventory > in the menu Instances, Holdings, Items is displayed in the 2nd pane
        • When selecting Instances, Holdings, Items > Statistical code types (displayed as a submenu in 2nd pane)
        • Then the Statistical code types setting page open (displayed in 3rd pane)
          no 4th pane - but later we might have it as a 4 pane layout, when the responsive behavior of Panes/Paneset is implemented - STCOM-274
      2. Scenario
        • When the Statistical code types setting page is open,
        • Then the top bar in 3rd pane display: Statistical code types
      3. Scenario (NEW - se updated UX wireframe)
      4. Scenario
        • When click on '+New' button in the top right corner
        • then enter a new Statistical code type value
        • save the value by click on 'Save' The new Statistical code type 'freeze', and it's not possible to save - see screen dump as of 11/22/2018
        • When viewing the 3rd pane, then
          • the newly added Statistical code type will be viewing in alphabetic order with the existing Statistical code types
          • the timestamp coming from the Metadata component
        • and the source will be set to local
        • When click on '+New' button in the top right corner
        • then enter a new value
        • cancel the edit by click on 'Cancel'
      5. Scenario
        • When click on the 'pen'
        • then it's possible to edit the given value
      6. Scenario
        • When start editing the value then
        • the action buttons are displayed 'Save' or 'Cancel'
        • Last updated: Data from the Metadata component
      7. Scenario
        • When edit of a Statistical code type value is done
        • Click on 'Save'
      8. Scenario
        • When navigation away when in the middle of edit of the value
        • Then the standard modal will show, warning about: There are unsaved changes (e.g. like in the Settings > Material types)
      9. Scenario
        • When click on the trash icon it's possible to delete the Statistical code type value
      10. Scenario
        • Go to a given Statistical code type value, which is to be deleted
        • click on 'trash icon'
        • Then the standard modal will show, warning about:
          • Headline: Delete Statistical code type
          • Text: The Statistical code [given value] will be deleted.
        • Select buttons: 'Cancel' or 'Delete'
        • The modal will be e.g. like in the Settings > Material Types

      Out of scope for this story will be systematic check against deletion of a Statistical code type values with associated instance records - see: UIIN-xxx.

      TestRail: Results


          1. Settings Inventory Statistical code types.png
            165 kB
            Charlotte Whitt
          2. Skærmbillede 2018-11-08 kl. 00.26.57.png
            324 kB
            Charlotte Whitt
          3. Skærmbillede 2018-11-22 kl. 23.38.46.png
            355 kB
            Charlotte Whitt
          4. Skærmbillede 2018-12-18 kl. 17.09.30.png
            459 kB
            Charlotte Whitt

          Issue Links



                adityamatukumalli Aditya matukumalli
                charlotte Charlotte Whitt
                Charlotte Whitt Charlotte Whitt
                0 Vote for this issue
                6 Start watching this issue



                  TestRail: Runs

                    TestRail: Cases