After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 356657 - "Check & Repair" Creates "Realized Gain/Loss" Transactions and Lots
"Check & Repair" Creates "Realized Gain/Loss" Transactions and Lots
Status: VERIFIED DUPLICATE of bug 357370
Product: GnuCash
Classification: Other
Component: Engine
2.0.x
Other All
: Normal normal
: ---
Assigned To: Derek Atkins
Derek Atkins
Depends on:
Blocks:
 
 
Reported: 2006-09-19 01:09 UTC by Dave Allen Barker Jr
Modified: 2018-06-29 21:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dave Allen Barker Jr 2006-09-19 01:09:35 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.
Comment 1 Derek Atkins 2006-09-28 12:09:34 UTC
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 ***
Comment 2 John Ralls 2018-06-29 21:12:55 UTC
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.