Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
-
ACQ Sprint 115
-
2
-
Thunderjet
Description
Purpose/Overview:
Do not allow changing the quantity or location of the POL, if the order already opened. Please take a look logic in the Receiving with Holdings ID.png
Requirements/Scope:
If quantity or location of the POL was changed for Opened order with "Manually add pieces for receiving" = False, then throw org.folio.orders.rest.exceptions.HttpException
Use Cases:
Given : Opened order
When : User change location in POL when "Manually add pieces for receiving" = False**
Then : Return Http response with code 400 and message "Please use the receiving App to update pieces and locations."
Given : Opened order
When : User change quantity of the physical or electronic in POL when "Manually add pieces for receiving" = False
Then : Return Http response with code 400 and message "Please use the receiving App to update pieces and locations."
Approach:
Update logic org.folio.helper.PurchaseOrderLineHelper#updateOrderLine(...) :
1. Replace method call org.folio.helper.PurchaseOrderLineHelper#checkLocationsAndPiecesConsistency with new method with validation
Acceptance criteria:
- Logic updated
- Unit tests
- API Tests updated or created
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-1925 Holdings: Display of POL number, Order status, Order date and Price in the Acquisition accordion
-
- Closed
-
- has to be done after
-
MODORDSTOR-200 Define "inventory order summary" model for the acquisition accordion in inventory
-
- Closed
-
- has to be done before
-
MODORDERS-510 Merge branch feature/UXPROD-1925 into master
-
- Closed
-