Thanks John. That sounds promising.

I can't quite get an example working. How would you modify the lines below 
to insert a dummy virtual posting (nevermind determining the account 
values)?

python
    def add_virtual_posting(x):
        # Insert code to partition postings based on value of "Shadow"
# tag
        return x

tag Shadow
    add_virtual_posting(value)  ; Think we need a directive here

2012-02-29 KFC
    ; Shadow: { APL: 42, SPL: 58 }
    Expenses:Food                             $20.00
    Assets:Cash:Checking

2012-02-29 Chrylser
    ; Shadow: { APL: 68.9, SPL: 31.1 }
    Expenses:Capital Expenditures         $30,500.00
    Assets:Cash:Checking


-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to