Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

5. Persist order with new status (mod-orders → mod-orders-storage)

Unopen order : transition from open to pending status (mod-orders)

  1. Fetch order (mod-orders → mod-orders-storage)

  2. Fetch POL encumbrance transactions (mod-finance → mod-finance-storage)
  3. Make/Persist encumbrances pending (mod-finance → mod-finance-storage)

  4. Update/Persist order transaction summary  (mod-finance → mod-finance-storage)

  5. Update/Persist transactions  (mod-finance → mod-finance-storage)

  6. Make/Persist POL pending (mod-orders → mod-orders-storage)

  7. Persist order with new status (mod-orders → mod-orders-storage)

Data redundancy in models

  1. Pair of RefNumber and RefType should be in consistence state between POL and invoice line.
  2. FundCode should be in consistence state between Fund record and pol.fundDistribution.code.
  3. VendorCode should be in consistence state between Organization record and purchaseOrder.vendorCode.