Uploaded image for project: 'mod-invoice'
  1. mod-invoice
  2. MODINVOICE-176

Prevent the creation of a transaction for an inactive expense class

    XMLWordPrintable

    Details

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

      Description

      Purpose:
      Requirement from the UX ticket: Each expense class has a status within the fund of Active or inactive. Inactive types can not be used

      Requirements/Scope:

      1. Update transaction(Pending payment, Payment, Credit) creation logic
      2. Update unit tests
      3. Update API tests

      Approach:
      If expenseClassId specified in fundDistribution

      • if expenseClass has active status
        • populate transaction.expenseClassId. Create transaction
      • else
        • return error with inactiveExpenseClass error code

      Acceptance criteria:

      • logic updated
      • unit tests updated
      • API tests updated

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                aliaksandr_pautau Aliaksandr Pautau
                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