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

Exclude vouchers with empty accountingCode from batchVoucher generation

    XMLWordPrintable

Details

    • ACQ Sprint 91
    • 1
    • Thunderjet
    • Q2 2020

    Description

      Overview:
      Since the accountingCode field become optional in voucher schema and still required in batchedVoucher schema. Error will occurs upon batchVoucher generation if voucher accountingCode field is empty.

      Steps to Reproduce:
      Create invoice
      Use vendor with no accounting code information
      DO NOT toggle "Export to accounting"
      create invoice line
      Approve invoice
      Run manual batch voucher export

      Expected Results:
      Batch voucher generated successfully. Voucher without accountingCode not added to batchVoucher - TBC dennisbridges If possible, this should be based on whether "Export to accounting" is true or not, rather than the presence of the accounting code. That said, this would work as a 'fix' for the release.

      Actual Results:
      Error occurs upon batchVoucher generation

      TestRail: Results

        Attachments

          1. bugfest.mp4
            1.25 MB
          2. MODINVOICE-177_check.mp4
            3.30 MB
          3. MODINVOICE-177.mp4
            9.72 MB

          Issue Links

            Activity

              People

                Andrei_Makaranka Andrei Makaranka
                aliaksandr_pautau Aliaksandr Pautau
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases