On 16.05.14,22:06, John Wiegley wrote:
> >>>>> Jostein Berntsen <[email protected]> writes:
> 
> > Is there a reason for this? 
> 
> This sounds rather odd, and may be a bug.
> 
> John
> 
> > Example data:
> 
> > 2014/03/05 * Opening Balance
> >         Assets:Project:Budget   1000000,00 NOK
> 
> > Equity:Opening Balance
> 
> > =  /TeamDev/
> >              (Assets:Project:Budget)   (1000,00 NOK * amount)
> 
> > Example command and output:
> 
> > ledger reg -s budget
> > While handling posting from
> > "/home/jostein/Documents/Finans/ledger/project.dat", line 16:
> >> (Assets:Project:Budget)   (1000,00 NOK * amount)
> > Error: 'equity' cannot accept virtual and non-virtual postings to the same
> > account
> 

For some reason these commands gives the right output:

ledger bal budget
ledger reg budget

But these give the error above:

ledger reg -s budget
ledger reg -M budget

My intention is to add hours like in the entry below to the Budget account
and calculated into a total cost in NOK. How is the best way to do this?

2014/04/17 Resource 1 - Week 16, 2014 Book
    ; Week16: 2014
    ; Resource1: John James 
    ; TeamDev: Workshop and plannning
    Allocation:Resources:TeamDev     -15 H  
         Assets:Project:Budget


Jostein


-- 

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