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

Lock total must equal Calculated total to approve invoice

    XMLWordPrintable

Details

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

    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

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases