Update quantity of the Location in the POL if pieces updated/removed

CSP Request Details

None

CSP Rejection Details

None

CSP Approved

None

Description

Purpose/Overview:
In order to allow for the users at point of order to provide more information to receiving librarians. FOLIO will allow users to select from existing Holdings when possible at point of order. To prevent users from causing problems in receiving and inventory when editing order quantity. Users will be able to edit order quantity from the receiving UI rather than the POL for orders where quantity and pieces need to be in sync.

Requirements/Scope:

  1. When new Piece is created, then in the POL, the quantity of the location must increased, cost changed and encumbrances amount updated.

  2. When new Piece is delete, then in the POL., the quantity of the POL location must decreased, cost changed and encumbrances amount updated.

  3. When location reference is provided in the POL location or in the Piece, then new holding always need to be created.

Approach:

Acceptance criteria:

  • Logic updated

  • Unit test created

Environment

None

Potential Workaround

None

Attachments

7

Checklist

hide

TestRail: Results

Activity

Show:

Dennis Bridges October 7, 2021 at 2:56 PM

Closing this issue as we have delivered the acceptance criteria. I have created and link a handful of bugs that address the gaps.

Andrei Makaranka October 6, 2021 at 6:17 AM

Hi ,

Could you please manually test create and delete piece functionality.
If you find issues please report separate bugs.

cc :
Thanks

Andrei Makaranka October 6, 2021 at 6:15 AM

Verified via API test on testing environment : https://github.com/folio-org/folio-integration-tests/pull/297

Andrei Makaranka September 20, 2021 at 7:52 AM

Collection to reproduce :

Ann-Marie Breaux September 14, 2021 at 7:25 PM

Thanks, We'll see how it looks once the BE portion is fixed, and then create a separate UI bug if necessary. Hopefully all will be fixed with the BE changes.

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Thunderjet

Fix versions

Release

R3 2021

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created July 14, 2021 at 7:00 AM
Updated October 7, 2021 at 2:56 PM
Resolved October 7, 2021 at 2:56 PM
TestRail: Cases
TestRail: Runs