Invalid reference in holdings drop-down when new location selected
Description
Description:
When a library binds pieces together and assigns the bound item to a location different from the holding location of the unbound items, that new location subsequently appears as “invalid reference” in the holdings drop-down.
Steps to reproduce:
Create an order and POL and enough receiving pieces to create at least 2 bound items. Make note of the location associated with the POL
Bind some of the pieces. Create a new holding in a location different from the POL location.
Open the “Bind items” screen and click on the “select permanent location” drop-down box
Expected result:
The holding from the POL and the holding created during the previous binding appear as options
Actual result:
The holding from the POL appears.
The holding created during the previous binding appears as “Invalid reference”
Invalid references also appear for edit piece and receiving full-screen forms.
Scenario for edit piece form:
Preconditions:
Order in “Open” status with one POL: Receiving workflow - Synchronized order and receipt quantity Create inventory - Instance, holding, item Location - any holding from member tenant
User is logged in and goes to “Receiving” app
Steps to reproduce:
Go to the title related to POL from preconditions
Click on the piece in “Expected” accordion
Expected result: Edit piece form is opened. Affiliation and holding fields are populated with values selected in POL
Actual result: Edit piece form is opened. Affiliation is populated with value selected in POL, holding displayed “Invalid reference”.
Scenario for full-screen receiving form:
Preconditions:
Same POL as from scenario above
Steps to reproduce:
Go to the title related to POL from preconditions
Click on “Actions” button next to “Expected” accordion and choose “Receive” option
Expected result: Full-screen receiving form is opened. Affiliation and holding fields are populated with values selected in POL
Actual result: Full-screen receiving form is opened. Affiliation is populated with value selected in POL, holding displayed “Invalid reference”.
Description:
When a library binds pieces together and assigns the bound item to a location different from the holding location of the unbound items, that new location subsequently appears as “invalid reference” in the holdings drop-down.
Steps to reproduce:
Create an order and POL and enough receiving pieces to create at least 2 bound items. Make note of the location associated with the POL
Bind some of the pieces. Create a new holding in a location different from the POL location.
Open the “Bind items” screen and click on the “select permanent location” drop-down box
Expected result:
The holding from the POL and the holding created during the previous binding appear as options
Actual result:
The holding from the POL appears.
The holding created during the previous binding appears as “Invalid reference”
Invalid references also appear for edit piece and receiving full-screen forms.
Scenario for edit piece form:
Preconditions:
Order in “Open” status with one POL:
Receiving workflow - Synchronized order and receipt quantity
Create inventory - Instance, holding, item
Location - any holding from member tenant
User is logged in and goes to “Receiving” app
Steps to reproduce:
Go to the title related to POL from preconditions
Click on the piece in “Expected” accordion
Expected result: Edit piece form is opened. Affiliation and holding fields are populated with values selected in POL
Actual result: Edit piece form is opened. Affiliation is populated with value selected in POL, holding displayed “Invalid reference”.
Scenario for full-screen receiving form:
Preconditions:
Same POL as from scenario above
Steps to reproduce:
Go to the title related to POL from preconditions
Click on “Actions” button next to “Expected” accordion and choose “Receive” option
Expected result: Full-screen receiving form is opened. Affiliation and holding fields are populated with values selected in POL
Actual result: Full-screen receiving form is opened. Affiliation is populated with value selected in POL, holding displayed “Invalid reference”.