Uploaded image for project: 'mod-finance'
  1. mod-finance
  2. MODFIN-116

Remove the link of the group_fund_fiscal_year to the budget when deleting this budget

    XMLWordPrintable

Details

    • ACQ Sprint 85
    • Thunderjet

    Description

      Overview

      At the moment, it is not possible to delete a budget if the fund to which it belongs is added to any group. To be able to delete the budget, the link between the group_fund_fiscal_year and the budget tables must be removed before deleting.

      Approach:

      Upon budget deletion find all group_fund_fiscal_years by budget.fundId and budget.fiscalYearId and clear groupFundFiscalYear.budgetId field

      Acceptance criteria:

      • The business logic described above has been added
      • Unit tests are updated
      • API tests are updated

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                aliaksandr_pautau Aliaksandr Pautau
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases