Uploaded image for project: 'ui-invoice'
  1. ui-invoice
  2. UINV-190

Lock total must equal Calculated total to approve invoice

    XMLWordPrintable

    Details

    • Template:
      Front-end User Story Template
    • Sprint:
      ACQ Sprint 103
    • Story Points:
      3
    • Development Team:
      Thunderjet

      Description

      Purpose: Allow user to enter a Total amount for the invoice. Upon approval of the invoice check all invoice and invoice line amounts against the Total. If they do not equal each other do not allow user to Approve invoice.

      User story statement(s):

      As a librarian that has created an EDI connect for receiving invoices
      I want the invoices to be created with the overall Total amount from the EDI file as the source of truth for the invoice
      so that as I add detail like taxes and fees for reporting purposes I know the system is going to make sure I end up with the correct total amount that needs to be paid to the vendor.

      Scenarios:

      1. Scenario:
        • Given invoice is created in FOLIO via EDIFACT file
        • When Loading the invoice and Total amount of invoice differs from the Calculated total of all invoice line and adjustments
        • Then warning is show to user in UI will be addressed by UINV-197
      2. Scenario:
        • Given invoice is created in FOLIO or via EDIFACT file
        • When clicking approve and Total amount of invoice differs from the Calculated total of all invoice lines and adjustments
        • Then user is intercepted by error toast message "Invoice cannot be approved. The Lock total amount of the invoice does not match the Calculated total amount of its invoice lines and adjustments."

        TestRail: Results

          Attachments

          1. err.png
            184 kB
            Andrei Shumski
          2. toast-msg.png
            191 kB
            Dennis Bridges
          3. toast-msg.png
            177 kB
            Andrei Shumski

            Issue Links

              Activity

                People

                Assignee:
                dennisbridges Dennis Bridges
                Reporter:
                dennisbridges Dennis Bridges
                Tester Assignee:
                Dennis Bridges Dennis Bridges
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases