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

Update transition to Approve considering the expense classes "Code"

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      ACQ Sprint 93, ACQ Sprint 98
    • Story Points:
      2
    • Development Team:
      Thunderjet

      Description

      Purpose:
      Requirement from the UX ticket: Each expense class has a code (extension) that compliments the 'Fund code' of any fund it is assigned to

      Requirements/Scope:

      1. Update creation of voucher lines upon invoice approval

      Approach:

      • If expenseClassId specified in fundDistribution:
        • retrieve expense classes by id
        • add Code to Fund code (fundCode-expenseClassCode)
      • group fundDistribution by externalAccountNumber (consider same fundCode with different expenseClassCode as separate Fund codes)
      • create voucher line for each externalAccountNumber or externalAccountNumber-extensionNumber and this pair must be store in voucher line field "ExternalAccountNumber"
      • Fund code + expenseClassCode must be stored in voucher line field "fundCode"

      Acceptance criteria:

      • logic updated
      • unit tests updated
      • API tests updated

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                siarhei_hrabko Siarhei Hrabko
                Reporter:
                aliaksandr_pautau Aliaksandr Pautau
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases