At the moment I am working on having Jiwa stay synchronised with an external system for debtors, inventory and staff.
To achieve this on the save end of these objects I am logging that the object was changed to a table, and then using a windows service to update the external system system, the reason for doing it this way is the external system may not always be available so the log table has a processed flag in it to allow retrying.
The issue arises when a delete of any of these entities is done and my workaround at the moment would be to serialise the object and put the XML in the log table and then simply desrialise it into an object to work with, the only concern I have is where you could have a deleted order and a deleted debtor together but am I right in assuming you can not delete a debtor or product once a referring object such as sales order order etc are created against them?