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 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/v5kdhb%247er%241%40ciao.gmane.io.