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

Cannot split funds on an Invoice with an odd number of pennies as the cost.

    XMLWordPrintable

Details

    • ACQ Sprint 110, ACQ Sprint 111, ACQ Sprint 112
    • 2
    • Thunderjet
    • R1 2021 Bug Fix
    • Cornell, University of Chicago

    Description

      Overview:
      Steps to Reproduce:

      1. Log into Honeysuckle as any user
      2. Create a Invoice with a invoice line with an uneven price at the penny level (e.g., $59.99.
      3. For the fund distribution, split between two funds, and make it 50/50 by percent. FOLIO can't deal with the penny situation, and so you can't allocate the funds.  You can get around this by switching to dollar amounts and then manually changing applying $30 to one fund and 29.99 to the other

      Expected Results: FOLIO divides the funds, randomly assigning one fund an additional penny.
      Actual Results: It allocates $30 to each and then FOLIO says you've overdistributed by a penny. You can get around this by switching to dollar amounts and then manually changing applying $30 to one fund and 29.99 to the other

      Scope

      Pending payment creation upon Invoice approval. Pending payment update when exchange rate is updated.

      Payment and Credit creation when Invoice is paid.

      Approach:

      If, after distribution, the sum of rounded parts is more or less than the invoice line total, subtract one extra penny from the distributions starting from the end or add the missing penny from the beginning until the sums are equal.

       See MODORDERS-482 approach

       

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Andrei_Makaranka Andrei Makaranka
                aliaksandr_pautau Aliaksandr Pautau
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases