GNOME Bugzilla – Bug 356657
"Check & Repair" Creates "Realized Gain/Loss" Transactions and Lots
Last modified: 2018-06-29 21:12:55 UTC
Please describe the problem: Transactions are generated to represents realised gains that are already recorded elsewhere. Steps to reproduce: 1. Have an account of type Stock that includes one or more transactions recording a sale of shares. 2. Run "Check & Repair" on the account (or all accounts) (available from the "Actions" menu). Actual results: Running "Check & Repair" creates transactions in accounts of type Stock on the date of existing Sell transactions, with the description "Realised Gain/Loss", transfering to/from the Stock accounts to "Orphaned Gains-USD", an amount multiple of the number of shares sold on the date and a price of unknown origin. Lots are also generated if there were none before. Expected results: Checking & repair'ing... minus adding transactions related to realised gains and creating lots (since there's no way to use lots yet(?)). Does this happen every time? Yes. Other information: I don't mind the idea of "Check & Repair" addressing realised gain and lots, but I think as GnuCash now stands, it shouldn't. 1. As there's no way to work with lots (on which I imagine "Realised Gain/Loss" is computed) the user cannot define what shares were sold from which lot. 2. The Concepts Guide instructs recording realised gain/loss as a split, while "Check & Repair" records the realised gain/loss using unique transactions.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 357370 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=356657. Please update any external references or bookmarks.