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

Update transition to Approve considering the expense classes

    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 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

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases