> "IO" == Igbanam Ogbuluijah writes:
IO> My suggestion is for Ledger to pick a direction and stick to it. Either it
IO> continues with the `%(` syntax and updates the information in the docs, or
IO> it unifies the syntax with `$(` and releases a breaking change. Either
IO> choice is fine. I
Disclaimer: I'm a new enthusiast; so take my thoughts with a grain of salt.
I don't think supporting both would be good for Ledger. A trend I see in
the Ledger docs is "Use for whatever you want it to mean." — but
has to be defined. If Ledger begins to change along the lines of
"You can use
* John Wiegley [2024-07-05 16:18]:
> > So… I was looking to do a PR for this, and I realized this feature already
> > exists — just under a different syntax. You were right John. What's needed
> > here may be an update to the documentation; not a code change.
>
> Ah, well that shows how
> Igbanam Ogbuluijah writes:
> So… I was looking to do a PR for this, and I realized this feature already
> exists — just under a different syntax. You were right John. What's needed
> here may be an update to the documentation; not a code change.
Ah, well that shows how unfortunate a
So… I was looking to do a PR for this, and I realized this feature already
exists — just under a different syntax. You were right John. What's needed
here may be an update to the documentation; not a code change.
The correct way to use expressions in the auto_xact account specification —
> Igbanam Ogbuluijah writes:
> Good stuff! Thanks for the pointer, John.
>
> I'll sit with this over the weekend and come up with a proposal on what the
> feature-extension should look like. If we agree on that, I'll throw up an
> issue on Github and try to tinker through.
OK, here’s the
Good stuff! Thanks for the pointer, John.
I'll sit with this over the weekend and come up with a proposal on what the
feature-extension should look like. If we agree on that, I'll throw up an
issue on Github and try to tinker through.
Igbanam
On Fri, Jul 5, 2024 at 6:05 PM John Wiegley
> "IO" == Igbanam Ogbuluijah writes:
IO> If it's meant to work this way, then there may be a bug somewhere.
Aha, the support for $account is much more hard-coded than I had realized. It
doesn’t allow any expression after a $ sign, but /only/ $account. I’ve
attached the patch you need for
If it's meant to work this way, then there may be a bug somewhere.
With
*= ^IncomeLiabilities:Tax:$account_base -0.1$account
0.12024-07-04 * SaleAssets10 USDIncome:Customer A*
the bal query yields
* 10 USD Assets -11
I think you would then use $account_base?
John
> On Jul 4, 2024, at 7:46 AM, Igbanam Ogbuluijah wrote:
>
>
> account_base — from man ledger — is an expression to "Return the base
> account, i.e. everything after the last account delimiter ':'".
>
> How do I use this within a ledger?
>
>
account_base — from man ledger — is an expression to "Return the base
account, i.e. everything after the last account delimiter ':'".
How do I use this within a ledger?
Use case: I want to record tax for sales per customer.
= ^Income
Liabilities:Tax:$account -0.1
$account
11 matches
Mail list logo