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

Define and implement budget-expense-classes API

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Labels:
      None
    • Template:
      Thunderjet/Firebird Back-end Story Template
    • Sprint:
      ACQ Sprint 93
    • Story Points:
      2
    • Development Team:
      Thunderjet

      Description

      Purpose/Overview:
      In order to support ability to add the expense classes to one or many budgets and to specify status for expense class within the budget
      We need a table to store links between classes and budgets. You also need an API to manage these records.

      Requirements/Scope:

      1. Create budget-expense-classes schema:
        • budgetId - required
        • expenseClassId - required
        • status - Enum: Active - default, Inactive
      2. Define and implement CRUD /finance-storage/budget-expense-classes API
      3. Define the budget-expense-classes table in shcema.json
        • add (budgetId, expenseClassId) unique index
        • add budgetId -> budget foreign key
        • add expenseClassId -> expense_class foreign key

      Acceptance criteria:

      • The budget-expense-classes schema created
      • The budget-expense-class API is defined and implemented
      • The budget-expense-classes table defined
      • Unit tests are updated

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Andrei_Makaranka Andrei Makaranka
                Reporter:
                aliaksandr_pautau Aliaksandr Pautau
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases