Transactions not appearing correctly

Ken kmailuk at googlemail.com
Sat Nov 28 12:51:58 EST 2009


Some more detail:
At the end of this email I have pasted the raw XML from the file for the
transaction which is a problem (Example 1).  It appears, for some strange
reason that the "quantity" is 0 in the line of the split.  In a test
transaction (Example 2), the quantity is displayed correctly.
I can not figure out how to fix this as there is not way to edit the
quantity field from the transaction register.


EXAMPLE 1
<trn:description>Buy 50 FXY at USD 94.10</trn:description>
 <trn:splits>
   <trn:split>
     <split:id type="guid">57c6efd5ba6e01ea03ff6324521b43c2</split:id>
     <split:action>Buy</split:action>
     <split:reconciled-state>n</split:reconciled-state>
     <split:value>4705000000/1000000</split:value>
     <split:quantity>50/1</split:quantity>
     <split:account
type="guid">211256a1c7fdf9ca2fcf238c7e9d2bee</split:account>
   </trn:split>
   <trn:split>
     <split:id type="guid">3fd0a6171b7a1df3ff870c9a202f2c37</split:id>
     <split:reconciled-state>n</split:reconciled-state>
     <split:value>1000000/1000000</split:value>
     *<split:quantity>0/100</split:quantity>*
     <split:account
type="guid">033b2bf15b0cf3a8b544718cd64bf76b</split:account>
   </trn:split>
   <trn:split>
     <split:id type="guid">2999340a9cc926839245daf36bacfc57</split:id>
     <split:reconciled-state>n</split:reconciled-state>
     <split:value>-4706000000/1000000</split:value>
     *<split:quantity>0/100</split:quantity>*
     <split:account
type="guid">8b867a55d99bfb70c38319b00235f43e</split:account>
   </trn:split>
 </trn:splits>
</gnc:transaction>


EXAMPLE 2
<trn:description>Buy 50 FXY at USD 94.10 Fixed</trn:description>
 <trn:splits>
   <trn:split>
     <split:id type="guid">3cd7e512b355667e5223d9e7af502a33</split:id>
     <split:action>Buy</split:action>
     <split:reconciled-state>n</split:reconciled-state>
     <split:value>470500/100</split:value>
     <split:quantity>50/1</split:quantity>
     <split:account
type="guid">211256a1c7fdf9ca2fcf238c7e9d2bee</split:account>
   </trn:split>
   <trn:split>
     <split:id type="guid">b32dc3758f2559e127de5dd3ac8aa728</split:id>
     <split:reconciled-state>n</split:reconciled-state>
     <split:value>-470400/100</split:value>
     *<split:quantity>-470400/100</split:quantity>*
     <split:account
type="guid">8b867a55d99bfb70c38319b00235f43e</split:account>
   </trn:split>
   <trn:split>
     <split:id type="guid">6a6ac01e3fc446bde33aa9f26f504cd2</split:id>
     <split:reconciled-state>n</split:reconciled-state>
     <split:value>-100/100</split:value>
     *<split:quantity>-100/100</split:quantity>*
     <split:account
type="guid">033b2bf15b0cf3a8b544718cd64bf76b</split:account>
   </trn:split>
 </trn:splits>
</gnc:transaction>





2009/11/28 Ken <kmailuk at googlemail.com>:
> Hi. I am having a strange problem with some transactions.  I have
> attached an image of an example.
>
> In the top part of the picture you will see I entered a transaction to
> Buy 50 shares of FXY which costs 4,706 from my brokerage account.
>
> The bottom part of the picture shows the line in the brokerage account
> but you will see that all the transaction value fields are blank.
>
> I have created some test transactions but they appear to work
> correctly.  I can not understand why GnuCash is showing the values of
> the transactions correctly in the register of the stock but not
> correctly in the register for the brokerage account for this
> transaction (but does work for some test transactions).
>
> Has anyone experienced this issue and know a solution?
>
> Thanks,
> Ken
>


More information about the gnucash-user mailing list