* Martin Blais <[email protected]> [2014-05-20 00:45]:
> Another thing I forgot to mention is that tags have proved to be awfully
> easy to forget to insert.

That's true, although:

1) Most of my CVS->ledger process is semi-automated and adds the right
tags for me.

2) You could add account checks that ensure that certain tags are
there e.g. ledger could warn you that an "Employer" tag is needed when
there's an Income:Salary.

> a tag applies to the entire transaction, however; a component in an
> account name only applies to its posting. In this case it would work
> out fine with tags IMO.

I always mix up the transaction/posting terminology, but tags can be
fine grained:

2014-05-01 * Test
   ; :foo:
   A             £10.00
   B                    ; :b:

In this example, "foo" applies to the whole thing whereas "b" only applies
to B.

$ ledger -f a reg tag foo
2014-05-01 Test                 A                            £10.00       £10.00
                                B                           £-10.00            0
$ ledger -f a reg tag b
2014-05-01 Test                 B                           £-10.00      £-10.00
$

-- 
Martin Michlmayr
http://www.cyrius.com/

-- 

--- 
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