3 ms·
> I think if a programmer were designing accounting, they'd put the flows in the database, and build views out of that. They might materialize the views for per
by melenaboija 4y ago
> I think if a programmer were designing accounting, they'd put the flows in the database, and build views out of that. They might materialize the views for performance reasons, but they'd treat those views as suspect and the first response to any bug would be "blow away the accounts and recreate them".
That is actually how it works, if you don't have "flows" you don't have accounting postings and if you have to fix an error you redo the postings from the flows. In this sense I would say that the "flows" are the source of truth.
- jkhdigital 4y agoRight. The only actual raw data is transactions. Account balances are just filtered rollups. Double entry bookkeeping is just how you manually accumulate a set of account balances from transaction data, and a set of conventions for consistently labeling and grouping the transaction sources and destinations.