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

    • Template:
    • Sprint:
      ACQ Sprint 85
    • Development Team:
      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: