Edit instance connection of POL - create inventory set to Instance, holding or Instance, holding, item

Description

Purpose: When orders are created that do not link to an instance or that link to the wrong one. The user may desire to edit the order once it is open and connect it to the appropriate instance.

User story statement(s):

As an acquisitions librarian,
I want to be able to update the POL instance connection of an Open POL
so that I can correct errors and improve order reporting accuracy

Scenarios:

  1. Action in action menu:

    • Given a POL is attached to an open or closed order

    • When "Create inventory" is set to Instance, holdings or Instance, holdings, item for either format

    • Then User can select "Changing instance connection" from action menu

    • AND this would load the Select instance modal

  2. Show related items in confirmation modal:

    • Given user is changing instance connection

    • When confirmation modal appears

    • Then system displays all related items that would be moved

    • AND item details shown in table are identical to those shown in inventory under Holdings in instance view pane

  3. Detailed confirmation:

    • Given instance referenced by the order line being edited has related holdings/items

    • When selecting new instance

    • Then user is interrupted by confirmation modal

    • AND the message says: "You have changed the title information of this purchase order line from [insert title as hyperlink] to [insert title as hyperlink]. All related item records will be moved to the new instance. How would you like to address the related Holdings?

    • AND user can select option to tell FOLIO to move, find or create, or create new hodlings

    • AND user must click Confirm or cancel to dismiss

  4. Restricting the "Move" holdings option:

    • Given these Holdings are related to pieces and/or item(s) that are NOT related to this order

    • When choosing option for Holdings

    • Then "Move" holdings option can not be selected

Note MIRO created with diagrams https://miro.com/app/board/uXjVOExnKfA=/?invite_link_id=730733465384

Environment

None

Potential Workaround

None

Attachments

4

Checklist

hide

TestRail: Results

Activity

Show:

Dennis BridgesMay 13, 2022 at 9:57 PM

test successful in folio-snapshot-2. Logic still needs to be tested when BE is complete

Yury SaukouMay 13, 2022 at 2:48 PM

Hi , updates are available on snaphot-2 (https://folio-snapshot-2.dev.folio.org/) Review it please. Thx!

Dennis BridgesMay 11, 2022 at 10:16 PM
Edited

, this will hopefully clarify. thx

1) Re "Create inventory" is set to "Instance, holdings" or "Instance, holdings, item". There is a create inventory field for each order format. Essentially if at least one of them equals "Instance, holdings" or "Instance, holdings, item". 

Why is this important? If none of the "create inventory" settings include "Holdings" then the order will have no reference to holdings records and the user should not have to pick a setting

2) There are no other Items or pieces that reference the Holdings records. 

Why is this important? If the holdings record that would be affected by this change is referenced by other items or pieces. Then it should not be possible to move it because moving the holdings would mean moving items or updating pieces that relate to other orders

 

Yury SaukouMay 11, 2022 at 4:45 PM

could you please clarify the scenario where "Create inventory" is set to "Instance, holdings" or "Instance, holdings, item" for either format and where there are no holdings/items associated with the PO Line (E.g. all items/pieces were deleted along with the holdings in "Receiving" app). How should the modal work in this case? Thx!

Dennis BridgesMay 6, 2022 at 8:23 PM

 scenario 5 was actually split into a separate story () so I have deleted the remaining bullet from here. thx!

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Story Points

Sprint

Development Team

Thunderjet

Fix versions

Release

Morning Glory (R2 2022)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created July 27, 2020 at 4:27 PM
Updated August 10, 2022 at 4:22 PM
Resolved May 13, 2022 at 9:57 PM
TestRail: Cases
TestRail: Runs