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

User with certain permissions can not save changed fund name in invoice line

    XMLWordPrintable

Details

    • ACQ Sprint 141
    • 1
    • Thunderjet
    • Morning Glory (R2 2022)
    • Implementation coding issue

    Description

      Preconditions : User with permissions to view/edit/create Orders and order Lines, view/edit/create Invoices and Invoice Lines, permission "Invoice: Approve invoices" is logged in

      An order with PO line is created

      Invoice is created, Invoice line to created order is added to invoice

      Steps to reproduce:

      1. Click Invoice line added in precondition and expand "Fund distribution" accordion.
      2. In "Fund ID" dropdown choose different from selected existing fund having budget for current fiscal year and click "Save & close" button.

      Expected result: Changing in Invoice line is successfully saved.

      Actual result: Error message appears, changing in invoice line is not saved.

       

      Endpoint

      Request URL: https://folio-snapshot-okapi.dev.folio.org/invoice/invoice-lines/7b5f2206-5c91-43d7-b926-976a16a34b39

      Request Method: PUT

      Response:

      {
      "errors" : [

      { "message" : "Access for user 'nchistova' (f8098cce-b8df-4b4b-93c6-ede16249acd4) requires permission: finance.ledgers.collection.get", "code" : "genericError", "parameters" : [ ] }

      ],

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Nina Chistova Nina Chistova
                Nina Chistova Nina Chistova
                Nina Chistova Nina Chistova
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases