Uploaded image for project: 'mod-invoice'
  1. mod-invoice
  2. MODINVOICE-221

Relink invoice with new order if POL link was changed in invoice line

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.1.0
    • Labels:
      None
    • Template:
      Thunderjet/Firebird Back-end Story Template
    • Sprint:
      ACQ Sprint 116
    • Story Points:
      2
    • Development Team:
      Thunderjet
    • Release:
      R2 2021

      Description

      Purpose/Overview:
      https://issues.folio.org/browse/UINV-193 - Be able to link an invoice line to a PO line after the invoice line has been created]

      Requirements/Scope:

      1. Add link between invoice line and order line after the invoice line has been created.
      2. 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

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dennisbridges Dennis Bridges
                Reporter:
                Andrei_Makaranka Andrei Makaranka
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases