On Wed, Dec 2, 2009 at 10:16 PM, John Wiegley <[email protected]> wrote:
> I would just do it this way:
>
>  Aufwand:Einkauf:Lebensmittel:Fisch          (350g * 5)
>  Aufwand:Bargeld                           (-1,69€ * 5)
>
> You rarely need "@@", as Ledger can infer it based on the ordering of the 
> postings.
>

But given a transaction like this, wouldn't I have to double the
"Aufwand:Bargeld" lines for every single transaction?

2009/10/02 * Lidl
    ; Ort: Bretxa
    Aufwand:Bargeld                           -3,91€
    Aufwand:Einkauf:Lebensmittel:Getränke        (1l * 3) @@ (0,99€ * 3)
    ; Kauf: zumo de naranja (con pulpa)
    ; Marke: Vitafit
    Aufwand:Einkauf:Lebensmittel:Milch           (1l * 2) @@ (0,47€ * 2)
    ; Kauf: leche desnatada
    ; Marke: Finessa

This would turn out like this:

2009/10/02 * Lidl
    ; Ort: Bretxa
    Aufwand:Bargeld                          (-0,99€ * 3)
    Aufwand:Einkauf:Lebensmittel:Getränke        (1l * 3)
    ; Kauf: zumo de naranja (con pulpa)
    ; Marke: Vitafit
    Aufwand:Bargeld                          (-0,47€ * 2)
    Aufwand:Einkauf:Lebensmittel:Milch           (1l * 2)
    ; Kauf: leche desnatada
    ; Marke: Finessa

Thus I'd still have to edit "* 3" etc. in two places and I loose
the ability to balance against "-3,91€" (the overall amount),
what would have been a good way to check
that I didn't miss out on any items on the sales slip.

Thanks for your suggestions,
Johann

Reply via email to