Rethinking the commodity works here. It's technically a leave day, not just
a normal day.

While this solves my current use case, there may be a reason to filter out
postings based on accounts

On Thu, Jun 27, 2024 at 7:11 PM Tavis Ormandy <[email protected]> wrote:

> On 2024-06-26, Igbanam Ogbuluijah wrote:
> > Hi all,
> >
> > Just wanted to bump this to see if anyone had any ideas yet.
> >
> > Thanks!
> >
>
> I think it's not related to budgeting, you're trying to filter postings
> in an unusual way. What you're asking is probably possible, maybe
> someone knows a nice solution, but I don't :)
>
> I guess one way would be adding an automated transaction that just nulls
> any relevant posting, I don't know, something like this:
>
> = expr (account == 'Unpaid:Leave')
>     Benefits        1
>     Unpaid:Leave   -1
>
> If you're willing to record them differently, maybe a better solution is
> to use different commodities, e.g.:
>
> ~ yearly
>        Leave  10 paid
>        Leave   5 unpaid
>        Benefits
>
> Now you can do --limit 'commodity == "paid"' and get the output you wanted.
>
> Hope this helps.
>
> --
>  _o)            $ lynx lock.cmpxchg8b.com
>  /\\  _o)  _o)  $ finger [email protected]
> _\_V _( ) _( )  @taviso
>
> --
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "Ledger" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/ledger-cli/-XqJ5nLXevs/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ledger-cli/v5kdhb%247er%241%40ciao.gmane.io
> .
>

-- 

--- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/CAOmRJreFwhFejWc-GOiKUu0s7S7OTESAzadkFhmTm4nGgo%3Domw%40mail.gmail.com.

Reply via email to