On Sat, Jul 7, 2018 at 5:23 PM, Craig Earls <[email protected]> wrote:

> Yes. You would have to use the whole account name down to the level you
> want. For example:
>
> Ledger reg Expense: fuel - gas - clear: 9350: 10: 51: 01
>
> With whatever time limits you want gives you only what is in that complete
> account
>
> Ledger reg Expense: fuel - gas - clear: 9350
>
> Gives you everything under 9350
>
> OK  - - - but fuel - gas - clear actually refers to the whole number - -
all of 9350: 10: 51: 01. 9350 as a 'meta' account (if I'm allowed to use
that term)
is all of the sub-accounts under 9350 rolled into one.

Does this mean that I should be writing the accounts as something like this:

9350: 10: 51: 01 : fuel - gas - clear

where breakdown is something like:

9350 - meta account
10 - 1st level sub-account
51 - designates fuel
01 - designates a particular kind of fuel


For the second part (your query) could it be written as
ledger reg Expense: 9350

ie can I query without using the text portion?
(That would be the easiest for combining the sub-accounts back into their
'tax'
accounts (which in this case is '9350').

Thanking you for your assistance and consideration!

Dee

-- 

--- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to