Multiple postings are absolutely fine.
My pay stubs have something like 20+ postings each.
For your particular example, filter the postings, not the transactions.

On Wed, Sep 25, 2019 at 10:44 AM <[email protected]> wrote:
>
> Guys hi,
>
> As the title says i wonder if it's bad practice to use multiple postings.
>
> Sometimes i use transactions with multiple postings, example:
>
> 2019-09-06 * "Paid for ..."
>   Expenses:Business:Company1        200 USD
>   Expenses:Business:Company2        200 USD
>   Assets:Cash                 -400 USD
>
> or
>
> 2019-09-06 * "Paid for ... & Received"
>   Expenses:Business:Company1        200 USD
>   Expenses:Business:Company2        200 USD
>   Income:Business:Company1          -50 USD
>   Assets:Cash                 -350 USD
>
> It worked great for my needs, but now that i'd like to filter expenses/income 
> only related to Company1 fava filter 
> "any(account:"Expenses:Business:Company1)"
> does not work for this type of transactions.
>
> So i wonder if it's better practice to use simple transactions like
>
> 2019-09-06 * "Paid for ..."
>   Expenses:Business:Company1        200 USD
>   Assets:Cash                 -200 USD
>
> ......
>
> So one can be more flexible with filters, etc if need arises.
>
> --
> 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beancount/c2eb35fd-428b-412f-a880-552887b448ab%40googlegroups.com.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhMJUxAFsi3NE96Cd9jpcGHve1gpYMAkhG-5RfR1KGPGUw%40mail.gmail.com.

Reply via email to