Uploaded image for project: 'mod-invoice-storage'
  1. mod-invoice-storage
  2. MODINVOSTO-57

Implementing cascade deletion for batch-voucher and batch-voucher-exports APIs

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      ACQ Sprint 86
    • Story Points:
      2
    • Development Team:
      Thunderjet

      Description

      Overview

      This story is created to meet cascade deletion.
      There is a cyclical relationship in requirements between "/batch-voucher-storage/batch-vouchers/" and "/batch-voucher-storage/batch-voucher-exports/" and it is not possible meet cascade deletion until both of API will not be completed.

      Interface Method Path Request Response Description Notes
      batch-voucher-storage.batch-voucher-exports DELETE /batch-voucher-storage/batch-voucher-exports/<id> NA 204 Delete a batch voucher export by id Deletion also removes related batch-voucher if one exists
      batch-voucher-storage.batch-vouchers DELETE /batch-voucher-storage/batch-vouchers/<id> NA 204 Delete a batch voucher by id Deletion removes reference from related export record

      Link to original requirements

      Acceptance Criteria

      • API is implemented (Code)
      • unit tests are updated

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Andrei_Makaranka Andrei Makaranka
                Reporter:
                Andrei_Makaranka Andrei Makaranka
                Tester Assignee:
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases