Done
Details
Assignee
Dennis BridgesDennis BridgesReporter
Andrei MakarankaAndrei MakarankaPriority
P3Story Points
2Sprint
NoneDevelopment Team
ThunderjetFix versions
Release
R2 2021TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Dennis Bridges
Dennis BridgesReporter
Andrei Makaranka
Andrei MakarankaPriority
Story Points
2
Sprint
None
Development Team
Thunderjet
Fix versions
Release
R2 2021
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created December 9, 2020 at 11:28 AM
Updated July 1, 2021 at 9:23 AM
Resolved June 17, 2021 at 9:37 PM
Purpose/Overview:
https://folio-org.atlassian.net/browse/UINV-193 - Be able to link an invoice line to a PO line after the invoice line has been created]
Requirements/Scope:
Add link between invoice line and order line after the invoice line has been created.
Update link between invoice line and order line.
Approach:
You need to check a list of links between the order and the invoice, if not, then delete it and create a new one. If a link exists for a new order, then there is no need to update or create a new link
Reuse logic org.folio.services.order.OrderService#createInvoiceOrderRelation for the org.folio.rest.impl.InvoiceLineHelper#updateInvoiceLine
Acceptance criteria:
Logic updated
Unit tests created
API tests created