Hello friends, I have had a sales application for android for years. All customers use it daily and it works properly.
However, there is one customer who has a rather serious problem and I can't seem to find the reason.
Basically what happens is that he makes a sale, another sale, another sale, another sale, another sale, etc. and finally instead of all sales, some are missing or even all are missing, they are not there.
I added a "log" file to save in text format every sale line I made. And indeed they are there in the log, but they are NOT IN THE DB.
In the creation of the DB I use "PRAGMA journal_mode = wal;".
It is the typical sales program with header table and line table.
Headers and their lines disappear completely.
Sometimes some sales (their headers and their lines) and sometimes all sales.
I need help!!!
Thanks.
However, there is one customer who has a rather serious problem and I can't seem to find the reason.
Basically what happens is that he makes a sale, another sale, another sale, another sale, another sale, etc. and finally instead of all sales, some are missing or even all are missing, they are not there.
I added a "log" file to save in text format every sale line I made. And indeed they are there in the log, but they are NOT IN THE DB.
In the creation of the DB I use "PRAGMA journal_mode = wal;".
It is the typical sales program with header table and line table.
Headers and their lines disappear completely.
Sometimes some sales (their headers and their lines) and sometimes all sales.
I need help!!!
Thanks.