POS lost record

Recently I have lost a record on a client when updating to current version…
For some reason the error with encode that I reported with the fix was the reason…
Now my advise us to have the paid tickets not to be deleted emediatly but few days after, also a check should be done before deleting if record was synced.