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

Update Budget schema with new Financial information

    XMLWordPrintable

    Details

    • Template:
      Thunderjet/Firebird Back-end Story Template
    • Sprint:
      ACQ Sprint 104
    • Story Points:
      1
    • Development Team:
      Thunderjet

      Description

      Purpose/Overview:
      In order to support UIF-261

      Requirements/Scope:

      1. Addition set of fields need to be added.

      Approach:

      Financial information

      Update schema mod-finance/schemas/budget.json with new fields:

      1. allocated(readOnly) - initialAllocation + allocationTo + allocationFrom
      2. initialAllocation(persistent) - The amount of the first allocation made to this budget
      3. allocationTo(persistent) - The sum of all allocation transaction amounts made TO this budget not including the Initial allocation
      4. allocationFrom(persistent) - The sum of all allocation transaction amounts made FROM this budget not including the Initial allocation

      Update schema mod-finance/schemas/shared_budget.json with new fields:
      1. Remove extends from budget

      1. allocated(persistent) - as we recieved from UI SharedBudget and can allocate money in creation time, then allocated need to be serializable.
        At the same time "allocated" will not be stored in database
      2. initialAllocation(readOnly) - The amount of the first allocation made to this budget
      3. allocationTo(readOnly) - The sum of all allocation transaction amounts made TO this budget not including the Initial allocation
      4. allocationFrom(readOnly) - The sum of all allocation transaction amounts made FROM this budget not including the Initial allocation
      5. totalFunding(readOnly) - budget.allocated + budget.netTransfers
      6. cashBalance(readOnly) - Total Funding minus Expended
      7. availableBalance(readOnly) - Total Funding minus Unavailable

      Acceptance criteria:

      • Schema updated

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                siarhei_hrabko Siarhei Hrabko
                Reporter:
                Andrei_Makaranka Andrei Makaranka
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases