This page contains examples of issues with Data consistency in Folio. The issues could fall into one of the following categories:
- There is no logic to make sure a data is consistent across a set of modules
- There is a logic to perform data consistency, but it isn't reliable and can lead to inconsistent data in a set of modules
...
Cases discovered earlier
Spike: Distributed transaction use cases and solutions
Order and Invoice module cases
Approve invoice (mod-invoice)
...
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.