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

Update transition to Approve considering the expense classes

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 4.1.0
    • None

    Description

      Purpose:
      Requirement from the UX ticket: Each expense class has a code/number (extention) that compliments the external account number 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 extension number to external account number (externalAccountNumber-extensionNumber)
      • group fundDistribution by externalAccountNumber (consider same externalAccountNumbers with different extension numbers as separate external account numbers)
      • create voucher line for each externalAccountNumber or externalAccountNumber-extensionNumber and this pair must be store in voucher line field "ExternalAccountNumber"

      Acceptance criteria:

      • logic updated
      • unit tests updated
      • API tests updated

      TestRail: Results

        Attachments

          1. karate.7z
            33 kB
          2. karate-1.png
            karate-1.png
            38 kB

          Issue Links

            Activity

              People

                yauheni_kuzmianok Yauheni Kuzmianok
                aliaksandr_pautau Aliaksandr Pautau
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases