<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">On Sonntag, 11. September 2022 23:05:42 CEST Jack Ostroff via KMyMoney-devel wrote:</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Somehow I ended up with a stock with one name in the Equities tab of </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> the Investment View, but a different name (same symbol and other </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> details) in the Securities tab. In the ledger, all transactions for </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> that stock were displayed with the name shown in the Equities tab, but </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> when edited, the name switched to the one from the Securities tab.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">The naming might be misleading (and I am open for improvements) but here</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">is what is (should be) shown:</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">The equities tab lists the sub-accounts of the selected investment accounts.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">So the name in the leftmost column is the name of an account. This account</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">is denominated in a security. Which one is shown in the symbol column.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">The securities tab on the other hand lists the securities used in the</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">data set. So the leftmost column shows the name of the security and not</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">the account.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">When a new account with a new security is created, both get the same name.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">That may lead to the confusion.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> In addition, while trying to clean this up, at one point, I had the </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> entry in the Equities tab showing Stock, but the entry in the </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Securities tab showing Mutual Fund.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">That is weird and might have been caused by a selection bug. It should not</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">be the case and I could not duplicate it with current master.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> First, I'm not sure any of those details of a Security Account should </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> be allowed to be different from the Equity from which it ws derived, </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> and which is still it's parent.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Currently, there is only a 'logical link' between the account and the </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">security through the currency/security-ID the account is denominated in.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">If we want to have a tighter coupling (say the name of security and account</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">needs to be identical in all times) then we need to force that.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Second, display details in a ledger should always (my opinion, open for </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> discussion) be taken from the security accunt and not the parent </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> equity, especially if they can differ.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">I think that is the case but might be mistaken. If you can tell me where</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">it is not the case we can change it.</p>
<br /><br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">-- </p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Regards</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Thomas Baumgart</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">-------------------------------------------------------------</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Why do programmers wear glasses?</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Cause they don't C#.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">-------------------------------------------------------------</p>
<br /></body>
</html>