Uploaded image for project: 'mod-orders'
  1. mod-orders
  2. MODORDERS-243

Create encumbrance upon order transition to "Open"

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Labels:
      None
    • Template:
    • Sprint:
      ACQ Sprint 64, ACQ Sprint 65
    • Story Points:
      2
    • Development Team:
      Thunderjet

      Description

      Overview:
      The first step toward integration with finance is to encumber funds when an order is placed (transitions to Open). We already capture fund information in the fundDistribution portion of the PoLine, this is used in conjunction with the cost information to calculate and create encumbrances.

      For each PoLine {
         For each FundDistribution {
            If an encumbranceId isn't already set in this FundDistribution {
               Calculate the encumbrance against this fund (PoLine.cost.poLineEstimatedPrice * percentage)
               Create encumbrance with that amount and fund.  Update the fundDistribution w/ its id.
            }
         }
      }
      

      See API Listing Document for the appropriate encumbrance API to use

      Acceptance Criteria:

      • Encumbrances are created and linked to the PoLine fundDistributions as described above
      • Unit tests are updated
      • API tests are updated

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases