Thanks John.

This isn't quite working for some reason, my automated transaction looks 
like:
= Expenses:Home:Rent
   (Business:TaxDeductibles)   (amount*0.15)
   ; total:: amount

But when I run
ledger -f journal.ledger reg ^Business meta=total

The report looks like:
012-Apr-02 John Smith  (Busine:TaxDeductible)    £90.00    £90.00
(note the 0 at the start)

I've tried various debugging steps, like changing my metadata to "; total:: 
100" and "; total: 100", both of which show:
10012-Apr-02 John Smith  (Busine:TaxDeductible)    £90.00    £90.00
in the report.

Just seems like amount is always 0 in those automated postings. Am I doing 
something wrong?

On Friday, 11 May 2012 21:00:28 UTC+1, JohnW wrote:
>
>
> For the metadata setting you can: 
>
>     ; Total:: amount 
>
> The "::" says that the value of the metadata key is a value expression. 
>
> John 
>
>

Reply via email to