I'm not sure if I agree with Craig as I do what Martin does as well. However, let's say that Craig's "leaves only" approach is the better one. Since ledger doesn't enforce that, how so I find all the transactions in which an amount is assigned to a non-leaf node without having to search for all transactions with two or more white space characters after each intermediate node's name? (As I have many years worth of transactions, that is not an easy/trivial task, so I'm curious for something to help if I go 'leaves only') Thanks! -=Doug
On 5/29/14 4:27 PM, Craig Earls wrote: > I saw Johns response about--empty but this idea from Martin strikes me as > wrong. If you have a hierarchical account tree I think it oy makes sense to > have postings on the "leaves" of the tree. In Martina example it would better > to say: > 2814-05-28 cash > Assets:Cash:Wall Safe -100 > Assets:Cash:Wallet 100 > > > > > On Thursday, May 29, 2014, Martin Michlmayr <[email protected] > <mailto:[email protected]>> wrote: > > * Martin Michlmayr <[email protected] <javascript:;>> [2014-05-29 16:02]: > > I agree. At the same time, I wonder whether this would come up in the > > real world. Do you have a real-world example? > > Actually, it's really easy to come up with a real-world example: > > 2014-04-01 * Test > Assets:Cash -100.00 USD > Assets:Cash:Wallet 100.00 USD > > ledger -f d0 bal > 100.00 USD Assets:Cash:Wallet > ledger -f d0 bal --flat > 100.00 USD Assets:Cash:Wallet > > -- > Martin Michlmayr > http://www.cyrius.com/ > > -- > > --- > You received this message because you are subscribed to the Google Groups > "Ledger" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:;>. > For more options, visit https://groups.google.com/d/optout. > > > > -- > Craig, Corona De Tucson, AZ > enderw88.wordpress.com <http://enderw88.wordpress.com> > > -- > > --- > You received this message because you are subscribed to the Google Groups > "Ledger" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout. -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
