Uploaded image for project: 'mod-orders'
  1. mod-orders
  2. MODORDERS-338

Adjust encumbrances when Order is re-opened

    XMLWordPrintable

Details

    • ACQ Sprint 89, ACQ Sprint 90
    • 3
    • Thunderjet

    Description

      Overview
      When Order is re-opened(Order moves from Open -> Pending -> Open), cost and fund distribution information can be edited.
      When Order moves from Open -> Pending:

      • Update all the encumbrances with initialEncumbrance=0

      When Order is opened again (Open -> Pending -> Open)

      • If the Fund distributions are removed , then release the encumbrances
      • Recalculate the encumbrances and update/create encumbrances

      NOTE: to update encumbrances use PUT /finance-storage/transactions/id

      Acceptance Criteria

      • Changes described above are updated in APIs
      • unit tests updated
      • API tests updated

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                yauheni_kuzmianok Yauheni Kuzmianok
                KVupp Kruthi Vuppala
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases