Add Locations Section to Inventory Item Record Incl Permanent Location
CSP Request Details
None
CSP Rejection Details
None
CSP Approved
None
Description
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
Scenarios:
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 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
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
Sorry for the confusion, . Yes, please test all scenarios. My note on scenario 1 is just an explanation as to why there are a couple things crossed out in that scenario. Basically, we decided that the Locations section header is only going to be added to the View mode of the record as part of this story. It will be added to the create and edit modes later as part of different stories.
Anya July 24, 2018 at 7:33 PM
Edited
given this note :
"Removed requirement to add Locations section to created and edit views per comment from Charlotte Whitt on . The section will be added as part of later stories."
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
Scenarios:
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 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
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
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
Should also allow users to browse and select locations using the "locations lookup popup" described in
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)
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
Scenario
Given the select button
When clicked
Then the location should be selected
Scenario
Given the cancel button
When clicked
Then the location selection should be cancelled and the popup should close