>>>>> Craig Earls <[email protected]> writes:

> I tried this out and have a few questions.  1.  Below, you used two colons
> for the meta tag.  It looks like it can work with any valued tag as long as
> the value is a commodity

A metadata tag with two colons is taken to have a value expression as its
value, rather a string that gets converted to a value expression every time
Ledger needs to.  It's an optimization which can pay off big for large data
files using certain kinds of reports.

> 2.  It appears to add an unbalanced posting using the name of the tag as the
> account. 
> 
> Does that seem right? If so I will write it up.

Yep, that's exactly what it does.  Think of it as doing just when automated
transactions does -- injects postings into matching transactions -- except
this time you specific the new posting in situ, rather than via a predicate
rule.

John

Reply via email to