On Wed, Jul 30, 2014 at 5:13 AM, Eric Abrahamsen <[email protected]>
wrote:
> For the longest time I haven't been able to use payee limiting in
> reports in any convenient way, and I'm finally getting around to
> bringing it up here. I am using git ledger, built on archlinux. Here's
> the basic problem:
>
> [eric@pellet ~]$ ledger reg assets:receivable --limit 'payee=~/CBI/'
> 14-May-03 CBI Assets:Receivable 2,000.00 RMB 2,000.00 RMB
> 14-Jun-18 CBI Assets:Receivable -2,000.00 RMB 0
>
> [eric@pellet ~]$ ledger reg assets:receivable and CBI
> [eric@pellet ~]$ ledger reg assets:receivable @CBI
> {displays all postings for assets:receivable}
>
> According to the docs and whatnot, one of the shorter forms ought to
> work. The longer one is horrible to type!
>
> Am I doing something wrong, or are the docs incorrect, or is this a bug
> of some sort?
>
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"?
I don't quite understand in Ledger whether you're selecting
- postings,
- transactions, or perhaps
- all the postings of matching transactions.
Can somebody shed some light on this?
--
---
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.