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

Batch voucher generation and persistence

    XMLWordPrintable

Details

    • ACQ Sprint 86
    • 5
    • Thunderjet

    Description

      Overview

      MODINVOICE-131 defines and implements a basic the batch-voucher-export API. This story follows that by adding business logic.

      Approach

      • When a new batch-voucher-export is received (POST /batch-voucher/batch-voucher-exports)
        • persist the record via the storage module and return a response to the user (status = Pending)
        • kick off a background process that generates the batch voucher.
        • Once generated, persist the batch voucher and update the batch voucher export (status = Generated, populate batchVoucherId) via the storage module.

      See the wiki for additional details including instructions for generating batch vouchers.

      Acceptance Criteria

      • batch vouchers are generated and persisted when batch voucher exports are POSTed
      • batch voucher exports are updated when the batch voucher is generated (status / batchVoucherId).
      • unit tests are updated
      • api tests are updated

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                yauheni_kuzmianok Yauheni Kuzmianok
                cmcnally Craig McNally
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases