johannesgerer / buchhaltung

Smart tools for the ledger universe
http://johannesgerer.com/buchhaltung
MIT License
97 stars 8 forks source link

Documentation: Explain relationship between different ledger files #20

Closed jottr closed 6 years ago

jottr commented 7 years ago

I've tried setting up buchhaltung with the mainLedger and imported keys set to distinctive ledger files.
After reading the documentation and the comments in config.yml, I still can't quite grasp the relationship between the two files.
I first understood it like so: imported stores all the transactions recently imported via the update command.
After they were matched via the match command, the newly matched transaction are written to the mainLedger-file.

This seems to not be the case, since only the imported-ledger is edited in place, i.e. the information is only stored in the imported ledger, and not transferred into mainLedger.

johannesgerer commented 7 years ago

Yes, imported contains imported transactions (via update or import commands). At first they will be posted I to a TODO account which will then be changed to the account you entered through match.

Transactions stay in imported and form the basis of Bayesian learning based suggestions for match.

On September 18, 2017 5:21:10 PM GMT+01:00, jottr notifications@github.com wrote:

I've tried setting up buchhaltung with mainLedger and imported set to distinctive ledger files.
After reading the documentation and the comments in config.yml, I still can't quite grasp the relationship between the two files.
I first understood it like so: imported stores all the transactions recently imported via the update command.
After they were matched via the match command, the newly matched transaction are written to the mainLedger-file.

This seems to not be the case, since only the imported-ledger is edited in place, i.e. the information is only stored in the imported ledger, and not transferred into mainLedger.

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/johannesgerer/buchhaltung/issues/20

johannesgerer commented 6 years ago

Please reopen if any questions.