Topic: Deleting a fiscal year problem
Hello,
i am using frontaccounting since 2014 and i did not delete any records. Now i have some problems. Because i have too many records in db. For example gl_trans table has 5.5millions of records. Now i decided to delete fiscal years but it cannot possible to delete from frontaccounting user interface becouse of timeout limitations. I wrote cli script with using delete_this_fiscalyear method in mainteince_db.inc. I can close a fiscal year and then i can delete this fiscal year.
After deletion, customer blances has been changed. I investigated what is the problem. I found something but i don't know how to solve this problem exactly.
If i delete 2014 records and customer has invoice in this year but it has paid in 2015, total customer balance is changing. As if the customer paid more than its debt but the payment belongs to invoice in 2014. I hope i could explain clearly.
Now i'm using 2.3.26 version and I can not upgrade to 2.4.x becacuse i have lot of records. Upgrade process takes very very long time like infinite.
I have to delete previous fiscal years but i cant.
I am waiting your reply.
Thanks in advance.