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

Add ability update encumbrances and number of encumbrances based on order_transaction_summary

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 5.0.0
    • None
    • ACQ Sprint 89, ACQ Sprint 90
    • 5
    • Thunderjet

    Description

      Description

      To support ability update encumbrances during reopening orders we need update allOrNothing mechanism:

      • upon encumbrance update use order_transaction_summary instead of invoice_transaction_summary
      • create transaction on orders in temporary_order_transactions table
      • when all transactions received
        • if transaction exists in transaction table
          • update existing transaction
          • update totals according to wiki
        • else
          • create transaction in transaction table
          • update totals according to wiki
      • create PUT /finance-storage/order-transaction-summaries/id API to allow update numTransactions value

      Note: Attached test cases from MODORDERS-338

      Acceptance criteria

      • PUT /finance-storage/transactions/id logic updated
      • PUT /finance-storage/order-transaction-summaries/id API created
      • unit tests updated

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases