Isn't this what FROM is for?

You could add a metadata tag to your "cash" accounts, like is_cash: true, 
and then use FROM OPEN_META('is_cash') to filter to only transactions 
affecting at least one account with the given metadata tag.

On Monday, December 30, 2019 at 12:14:08 PM UTC-8, Artur Matos wrote:
>
> Thanks. That doesn't quite work because "number > 0"  would also pick up 
> the company top up below:
>
> 2019-12-02 * "Company tops up with 10%"
>   Assets:CompanyCard:Starbucks  2 USD
>   Income:CompanyCard:Starbucks
>
> On Sunday, 29 December 2019 10:35:07 UTC, Red S wrote:
>>
>> Could you replace "X in other_accounts" with "number > 0"?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/f31b04d7-69af-43d3-be90-ee28d0ce6c07%40googlegroups.com.

Reply via email to