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

Provide expense class details in Ledger Rollover Budgets API response

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 8.3.0
    • None
    • ACQ Sprint 150
    • 3
    • Thunderjet
    • Nolana (R3 2022)
    • TBD

    Description

      Purpose/Overview:
      Run preview ledger rollover and store result budgets and errors of process

      Requirements/Scope:

      1. Provide existing Rollover Budgets API with new fields represented expense classes details
      2. Cover extended API with Karate tests

      Fields that should be added to reponse:

      Note: Fields Awaiting payment, Expended, Percentage of total expended can be omitted if they generation requires big effort from implementation perspective

      Approach:

      1. Modify rollover script to save expense classes details into new temp table
      2. Create new sql function that accepts data from expense_classes and encumbered_transactions temp table and provide expense class details as result
      3. Move some logic from finance-storage module connected with calculation expense classes details using Java Money API
      4. Update rollover budgets with new expense classes details in Rollover service 

      Rollover Budget Schema already has expenseClass details object inside that canbe used: https://github.com/folio-org/acq-models/blob/master/mod-finance/schemas/ledger_fiscal_year_rollover_budget.json 

      Acceptance criteria:

      • API extended with expense class details
      • Unit tests added
      • API integration tests adjusted

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                dennisbridges Dennis Bridges
                Nosko Serhii Nosko
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases