...
5. Persist order with new status (mod-orders → mod-orders-storage)
Unopen order : transition from open to pending status (mod-orders)
Fetch order (mod-orders → mod-orders-storage)
- Fetch POL encumbrance transactions (mod-finance → mod-finance-storage)
Make/Persist encumbrances pending (mod-finance → mod-finance-storage)
Update/Persist order transaction summary (mod-finance → mod-finance-storage)
Update/Persist transactions (mod-finance → mod-finance-storage)
Make/Persist POL pending (mod-orders → mod-orders-storage)
Persist order with new status (mod-orders → mod-orders-storage)
Data redundancy in models
- Pair of RefNumber and RefType should be in consistence state between POL and invoice line.
- FundCode should be in consistence state between Fund record and pol.fundDistribution.code.
- VendorCode should be in consistence state between Organization record and purchaseOrder.vendorCode.