Uploaded image for project: 'mod-finance-storage'
  1. mod-finance-storage
  2. MODFISTO-86

Update encumbrance doesn't work as expected

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.2.0
    • Labels:
      None
    • Template:
    • Sprint:
      ACQ Sprint 82
    • Story Points:
      1
    • Development Team:
      Thunderjet

      Description

      Overview

      Upon opening an order, we need to create encumbrances - either all the encumbrances for that order are created, or none of them are. Her we create an order_transaction_summary and accumulate the new encumbrances in temporary_order_transactions.

      This behavior is correct, but needs to be expanded upon to accommodate MODINVOICE-113. More specifically:

      Upon approving an invoice, we need to update encumbrances via the awaitingPayment API - another all-or-nothing operation. Here we create an invoice_transaction_summary and accumulate the updated encumbrances in temporary_invoice_transactions.

      See the wiki for full details.

      Acceptance Criteria

      • Fix implementation of PUT /finance-storage/transactions/{id} according to the wiki
      • Unit tests are updated

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                cmcnally Craig McNally
                Reporter:
                aliaksandr_pautau Aliaksandr Pautau
                Tester Assignee:
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases