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

Spike : Find an effective approach to calculating budget totals

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Draft (View Workflow)
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Template:
      Thunderjet/Firebird Back-end Story Template
    • Development Team:
      Thunderjet

      Description

      Purpose/Overview:
      The current approach of calculating budget values, when we update the values by the amount of transaction sum, leads to frequent errors of bug. By the way, it is difficult to maintain the code, because each type of transaction and different operations have their own rule of updating the budget values.
      The most reliable approach is to calculate values based on all budget related transactions:

      • Allocated = (The sum of all allocation transactions amounts)
      • Net transfers = (The sum of all transfer transactions amounts)
      • Available = (Allocated+Net transfers) - Unavailable
      • Encumbered = (The sum of all encumbrance transaction amounts)
      • Awaiting payment = (The sum of all pending payment amounts)
      • Expended = (The sum of all Payment amounts less credits)
      • Unavailable = (Encumbered + awaiting payment + expended - credits)
      • Over encumbered = (The total amount encumbered minus (Allocated+Net transfers))
      • Over expended = (The total amount expended minus (Allocated+Net transfers))

      Requirements/Scope:

      1. Budget values must be recalculated based on all related transactions

      Acceptance criteria:

      • approach selected
      • required stories created

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:

                    TestRail: Runs

                      TestRail: Cases