I have added the account/payee consistency enforcement to the docs, but it appears the "accounts" command isn't working anymore.
On Thu, Mar 15, 2012 at 15:04, John Wiegley <[email protected]> wrote: > >>>>> Giacomo Catenazzi <[email protected]> > writes: > > > 1 - Accounts and payees list > > > I would like to have a file with accounts and a file with the payees > (loaded > > as command-line option or as directive in journal file). Ledger should > > report a warning (or an error) if the account or payee is not in the > list. > > > Additionally the files should allows aliases, i.e.: Company 1 > > Company 2 Rebranding 2.0 = Company 2 Rebranding 2.1 = Rebranding > > 2.0 > > This is implemented now. Just make a file called accounts.dat, and put in > lines like this: > > account Company 1 > ... > > payee X > .... > > Then include accounts.dat in your normal data file. Use --strict if you > want > to see warnings about uses of accounts not in your list. > > > 2- Different sign convention. > > > I like the traditional account signs: usual intent are positive, so I > would > > like to have a directive: @sign -Income -Liabilities -*:Income > > -*:Liabilities so that: - I usually wrote the positive numbers - > > ledger will apply the sign to selected account (default is +) at reading > > time, and on reports the sign are applied again. > > This is probably not going to happen. > > > 3- Subtotal in transactions. > > > I had few time problems with similar transactions, i.e. when books come > in > > few different shippings. One invoice have the import of USD and the > details, > > the credit card invoice only the totals (in both commodities). So I > would > > like to have a subtotal (and checked by ledger). Now it seems to works > only > > on account level and not on transactions. > > I don't fully understand what you are asking for here. > > > 2011-12-01 Amazon > > ; Book: title 1 > > Expenses:Books 8.25 USD @ 0.9876 CHF > > ; Book: title 2 > > Expenses:Books 7.52 USD @ 0.9876 CHF > > ; Book: title 3 > > Work:Expenses:Books 18.34 USD @ 0.9876 CHF > > ; SubTotal I would like to have a subtotal > > = 34.11 USD ; > > <-------- I would like such things > > Liabilities:CreditCard -34.40 CHF > > ; ~ 2.00% changing expenses > > Expenses:CreditCard > > I believe Ledger already does this, if you put "= 34.11 USD" after the > cost, > doesn't it? Or maybe I'm not understanding... > > John > -- Craig, Corona De Tucson, AZ enderw88.wordpress.com
