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

Fund Distribution only required upon transition to approval

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Labels:
      None
    • Template:
    • Sprint:
      ACQ Sprint 67
    • Story Points:
      2
    • Development Team:
      Thunderjet

      Description

      Overview

      Currently, the invoiceLine fund distribution field is required (w/ minimum 1) in the schema. In order to support creation of invoiceLines for PoLines w/o fundDistributions, we need to relax this in the schema and add validation in the code to ensure at least one fundDistribution is present when transitioning an invoice to "Appoved"

      Approach

      • invoiceLine schema: fund distribution is no longer required
      • code: validate that at least one fund distribution exists on each invoiceLine and that they add up to 100%

      Acceptance Criteria

      • Schema and validation adjustments described above are made
      • Examples and sample data are updated (if Fund Distros don't add up to 100%)
      • Unit tests are updated
      • API tests are updated

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                aliaksandr_pautau Aliaksandr Pautau
                Reporter:
                cmcnally Craig McNally
                Tester Assignee:
                Aliaksandr Pautau Aliaksandr Pautau
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases