oops. forgot to reply all. sorry for the noise. ---------- Forwarded message ---------- From: Keith Bellairs <ke...@bellairs.org> Date: Wed, Apr 10, 2013 at 11:52 AM Subject: Re: sale of stock - transaction posts incorrectly To: Derek Atkins <warl...@mit.edu>
Thanks, Derek. Yes, that was the problem. On Wed, Apr 10, 2013 at 11:39 AM, Derek Atkins <warl...@mit.edu> wrote: > Hi, > > Keith Bellairs <ke...@bellairs.org> writes: > > > Parent accounts are > > 1 Asset (top-level asset-type CAD) > > 1.4 Investments (child account asset-type CAD) > > 1.4.4 <mutual fund> (child account stock-type mutual-fund > security, no > > currency but it is a USD priced commodity) > > This is your problem! The parent account of your fund account MUST have > the currency in which your fund is priced. In this case your fund is > priced in USD but its parent is CAD. That's your problem. You need to > restructure your accounts so that you have: > > 1 Asset (CAD) > __ 1.4 Investments (CAD) > ____ 1.4.4 Investment USD (USD) > ______1.4.4.1 <mutual fund> > > > For fun I changed the currency of "Investments" to USD, but <mutual fund> > > continues to be broken. I have a variety of accounts with USD or CAD > > currencies. My "default currency" is CAD. > > Define "continues to be broken"? Yes, anything that currently exists > will still be broken after this change. But if you created a new > transaction from scratch (i.e. it didn't autocomplete) then it should > "work". > You are correct: it continued to be broken when I did an autocomplete. When I manually entered a new transaction it posted correctly to the USD Check Receivable account on the other side of the transaction. > > > There are other children of Investments that are asset accounts with > names > > like <broker name> and then stocks beneath them. They seem to all post > > correctly. > > Probably because the broker-name accounts have the correct currencies > for the underlying funds. > Yup. > > > KB > > -derek > > > On Tue, Apr 9, 2013 at 10:51 AM, Derek Atkins <warl...@mit.edu> wrote: > > > > Hi, > > > > What are the parent accounts of these two securities? In particular > > what are the parent account type(s) and account currency? > > > > -derek > > -- > > Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory > > Member, MIT Student Information Processing Board (SIPB) > > URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH > > warl...@mit.edu PGP key available > > > > -- > Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory > Member, MIT Student Information Processing Board (SIPB) > URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH > warl...@mit.edu PGP key available > > _______________________________________________ > gnucash-devel mailing list > gnucash-devel@gnucash.org > https://lists.gnucash.org/mailman/listinfo/gnucash-devel > _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel