Re: Filter transactions based on other accounts involved

2016-11-07 Thread Manuel Amador (Rudd-O)
On 11/07/2016 04:22 AM, Simon Michael wrote:
> On 11/6/16 3:47 PM, Manuel Amador (Rudd-O) wrote:
>> On 11/04/2016 06:58 AM, Martin Michlmayr wrote:
>>>
 2. The register displays all transactions that put a commodity into
 or take a commodity out of an account. Can I display where the money
 comes from/goes to as well? In other words, can I get the complete
 transaction detail in the register?
>>> --related
>>
>> How do you see both incoming and outgoing accounts?
>
> ledger -f t.ledger print Accounts:Hub | ledger -f - print A1   ?
>
>

Huh?

-- 
Rudd-O
http://rudd-o.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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Filter transactions based on other accounts involved

2016-11-06 Thread Simon Michael

On 11/6/16 3:47 PM, Manuel Amador (Rudd-O) wrote:

On 11/04/2016 06:58 AM, Martin Michlmayr wrote:



2. The register displays all transactions that put a commodity into
or take a commodity out of an account. Can I display where the money
comes from/goes to as well? In other words, can I get the complete
transaction detail in the register?

--related


How do you see both incoming and outgoing accounts?


ledger -f t.ledger print Accounts:Hub | ledger -f - print A1   ?


--

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Filter transactions based on other accounts involved

2016-11-06 Thread Manuel Amador (Rudd-O)
On 11/04/2016 06:58 AM, Martin Michlmayr wrote:
>
>> 2. The register displays all transactions that put a commodity into
>> or take a commodity out of an account. Can I display where the money
>> comes from/goes to as well? In other words, can I get the complete
>> transaction detail in the register?
> --related

How do you see both incoming and outgoing accounts?


-- 
Rudd-O
http://rudd-o.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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Filter transactions based on other accounts involved

2016-11-04 Thread Kumar Appaiah

On Friday, November 4, 2016 at 3:10:57 PM UTC+5:30, Kumar Appaiah wrote:
>
>
> On Friday, November 4, 2016 at 12:28:21 PM UTC+5:30, Martin Michlmayr 
> wrote:
>>
>> * Kumar Appaiah  [2016-11-03 21:22]: 
>> > Now, I wish to list all transactions that pay into Accounts:Hub ONLY 
>> > from Accounts:A1. How can I write a query like that? My cursory 
>> > filtering attempts didn't work. 
>>
>> reg Accounts:Hub -l 'any(account =~ /Accounts:A1/)' 
>>
>

Actually, I checked the ledger3.html file, and I don't see a reference to 
"any" anywhere. Is it missing or am I unable to spot it correctly?

Thanks.

Kumar

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Filter transactions based on other accounts involved

2016-11-04 Thread Martin Michlmayr
* Kumar Appaiah  [2016-11-03 21:22]:
> Now, I wish to list all transactions that pay into Accounts:Hub ONLY
> from Accounts:A1. How can I write a query like that? My cursory
> filtering attempts didn't work.

reg Accounts:Hub -l 'any(account =~ /Accounts:A1/)'

> 2. The register displays all transactions that put a commodity into
> or take a commodity out of an account. Can I display where the money
> comes from/goes to as well? In other words, can I get the complete
> transaction detail in the register?

--related

-- 
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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Filter transactions based on other accounts involved

2016-11-03 Thread Kumar Appaiah
Dear Ledger users,

I couldn't figure this out from the documentation and prior posts, so maybe 
I am missing something, more likely due to my misunderstanding of 
accounting concepts. Here are my queries.

1. Suppose that I have several transactions going into an account from 
different sources. For example:

* 2010/01/01 * T1
Accounts:Hub30.00 USD
Accounts:A1

* 2010/01/01 * T2
Accounts:Hub40.00 USD
Accounts:A2

* 2010/01/01 * T3
Accounts:Hub10.00 USD
Accounts:A1

Now, I wish to list all transactions that pay into Accounts:Hub ONLY from 
Accounts:A1. How can I write a query like that? My cursory filtering 
attempts didn't work.

2. The register displays all transactions that put a commodity into or take 
a commodity out of an account. Can I display where the money comes 
from/goes to as well? In other words, can I get the complete transaction 
detail in the register?

Thanks.

Kumar

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.