balance broken
Eildert Groeneveld
eg@tzv.fal.de
Mon, 22 Jul 2002 14:34:53 +0200
Hello Folks
meanwhile I have had a closer look. The problem seems to be related with the
wrong currency being stored in <cmdty:id>
The account is question is in USD and located as a subdirectory to an account
which is in EUR. Entering a new transactions stores this as EUR in <cmdty:id>
(see below). This is apparently ignored when the balance is computed. If
changed to USD using the vi (possible thanx to XML) then everything is ok.
Now we only need someone to fix this problem.
Christian mentioned at some point that the currency of an individual currency
could be specified. Is that so ? (then it would be a workaround)
greetings
Eildert
The accound for this transaction is in USD, however, the higher account is in
EUR:
<gnc:transaction version="2.0.0">
<trn:id type="guid">72c5ac2e4c42a0695f8ba9bdf904d83d</trn:id>
<trn:currency>
<cmdty:space>ISO4217</cmdty:space>
---------------------------------------------------------------
<cmdty:id>EUR</cmdty:id> ========================== with USD its ok!!!
---------------------------------------------------------------
</trn:currency>
<trn:date-posted>
<ts:date>2002-07-20 00:00:00 +0200</ts:date>
</trn:date-posted>
<trn:date-entered>
<ts:date>2002-07-20 17:35:05 +0200</ts:date>
<ts:ns>7185000</ts:ns>
</trn:date-entered>
<trn:description>pabry</trn:description>
<trn:splits>
<trn:split>
<split:id type="guid">6a98b731f20a7643f9704628578bc47f</split:id>
<split:memo>mabry</split:memo>
<split:reconciled-state>n</split:reconciled-state>
<split:value>275000/100</split:value>
<split:quantity>0/100</split:quantity>
<split:account
type="guid">3393b4c322cb03f741b897315442915b</split:account>
</trn:split>
<trn:split>
<split:id type="guid">76475808b8fa5ff8a4b1e6c16e95f041</split:id>
<split:reconciled-state>n</split:reconciled-state>
<split:value>-275000/100</split:value>
<split:quantity>-275000/100</split:quantity>
<split:account
type="guid">9d8b567ddf610fc2ca8d85e744640062</split:account>
</trn:split>
</trn:splits>
</gnc:transaction>
On Monday 22 July 2002 13:53, Eildert Groeneveld wrote:
> Dear all,
> the balance problem has been with me for some time but I have not been able
> to resolve the problem yet.
> It seems that there are occasions when entering a deposit or making a
> withdrawal that the balance does not change at all. This is also
> substantiated by the report which gives a line for the deposit WITHOUT the
> sum behind it. This happens for the current CVS version and started some
> time around end of June (?). It seems that this is related to having
> different currencies in the various accounts.
>
> How could I approach this problem?
>
>
> Eildert Groeneveld
> ==================================================
> Institute for Animal Science
> Mariensee 31535 Neustadt Germany
> Tel : (+49)(0)5034 871155 Fax : (+49)(0)5034 92579
> e-mail: eg@tzv.fal.de http://www.tzv.fal.de/~eg/
> ==================================================
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel@lists.gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
--
Eildert Groeneveld
==================================================
Institute for Animal Science
Mariensee 31535 Neustadt Germany
Tel : (+49)(0)5034 871155 Fax : (+49)(0)5034 92579
e-mail: eg@tzv.fal.de http://www.tzv.fal.de/~eg/
==================================================