On Jul 30, 2014, at 7:16 AM, Martin Blais <[email protected]> wrote: > This is perhaps a second question, but I'm confused as to the meaning of > Ledger's filter expressions. > > When you say: > ledger reg assets:receivable and @CBI > > Does it mean: > Select all the POSTINGS with account Assets:Receivable > AND > select all the TRANSACTIONS with payee "CBI"?
As I understand it, you are always matching postings, but the payee is propagated to each posting. I think of it as "postings with given account and payee," but you may be more comfortable if you say "postings with a given account and in a transaction with given payee." (Although this might also be less correct because you can override the payee per posting in a transaction.) Note that it doesn't say "give me postings matching given account AND give me postings matching given payee." Despite our use of "and" there, this would require an OR (i.e. union) operation. Nathan -- --- 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.
