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

Lock total must equal Calculated total to approve invoice

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.0.0
    • Labels:
      None
    • Template:
      Thunderjet/Firebird Back-end Story Template
    • Sprint:
      ACQ Sprint 103
    • Story Points:
      2
    • 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.

      Approach:
      On invoice approval if lockTotal value exist than compare it with calculated total

      • if equal approve invoice
      • if not equal return error with lockCalculatedTotalsMismatch error code

      Acceptance criteria:

      • logic implemented
      • unit test updated
      • integration test updated

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                yauheni_kuzmianok Yauheni Kuzmianok
                Reporter:
                aliaksandr_pautau Aliaksandr Pautau
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases