There was some discussion between the two of us a few months back about cash reporting and the Cashflow Statement though that "simply" marking accounts as "cash related" didn't work.The problem with the cash flow statement is different. It is because despite the name it is actually an accrual report, but the sectioning is different than what we support. So supporting that report requires additional categorization on accounts.
What I remember is that it *mostly* worked, but the problem came when assets were sold off at their end-of-life. What I remember is that the cash flow of the end-of-life sale is to be reported as gains/losses from investment activities, which was a problem given that the regular movements on the investment section (depreciation) is a loss from operational activities. To understand the true problem again, I/we'll have to go through the entire cycle of creating a mapping of accounts to a cashflow statement again.Yeah, I think you are thinking of the cash-basis income statement? I suspect things may have different names in different places?2. We would have much better performance and clearer code if the journal tables were unified or split off in better ways.Agreed. Although this is a change with widespread consequences in the Perl code, it's a pretty minor change in the sql code, I think (yes, the three tables are union-queried all over the place, but if they are mostly replaced by a single table listing all transactions, many uses of the ar and ap tables can simply be dropped.)Well, in the end, not addressing with this proposal how and when we get there. I think there are a lot of things to think about such as whether we need to move code anyway onto Dancer, and if we need to do that, what the best way forward on that is. So after our previous conversation I am not sure we are in a place yet to map out exactly what needs to be done to rewrite the financial code. I do however think important steps can be taken in 1.x in this direction.
It also occurs to me that if the admin tool is sufficiently service-oriented, then the installation wizard could be a _javascript_ app bundled with the main program.There is one limitation that has occurred to me and that is that the current approach returns html in most cases rather than using services and dojo. Although I think we support services for xhr calls, that doesn't do much for things like lwp. If we do a clean service/dojo API though then that goes away. I think getting this right would be a good step towards getting started on other service areas.
------------------------------------------------------------------------------
_______________________________________________ Ledger-smb-devel mailing list ..hidden.. https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel