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

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 5.1.0
    • None

    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

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases