[kmymoney] [Bug 431373] Incorrect Balance Values in Reconcile View of Ledger

2023-05-13 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=431373

Bug Janitor Service  changed:

   What|Removed |Added

 Status|NEEDSINFO   |RESOLVED
 Resolution|WAITINGFORINFO  |WORKSFORME

--- Comment #14 from Bug Janitor Service  ---
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmymoney] [Bug 431373] Incorrect Balance Values in Reconcile View of Ledger

2023-04-28 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=431373

--- Comment #13 from Bug Janitor Service  ---
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmymoney] [Bug 431373] Incorrect Balance Values in Reconcile View of Ledger

2023-04-14 Thread Matthew Grimes
https://bugs.kde.org/show_bug.cgi?id=431373

--- Comment #12 from Matthew Grimes  ---
When you say that you need the "reconcile ledger", are your referring to the
actual transaction data file for the credit card transactions or the whole file
of all my accounts, or something else?  Is there a way to only send the credit
card transactions? How do I do that?




Sent with Proton Mail secure email.

--- Original Message ---
On Friday, April 14th, 2023 at 6:36 PM, Jack  wrote:


> https://bugs.kde.org/show_bug.cgi?id=431373
> 
> Jack ostrof...@users.sourceforge.net changed:
> 
> 
> What |Removed |Added
> 
> Status|REPORTED |NEEDSINFO
> Resolution|--- |WAITINGFORINFO
> 
> --- Comment #11 from Jack ostrof...@users.sourceforge.net ---
> 
> Your second attachment was of the error message, not of the reconcile ledger.
> I occasionally also receive that error pop-up, but it has not seemed to ever
> actually cause any problems for me, and that includes checking, credit card,
> and investment accounts. Can you create a test file which shows the problem
> that you can attach?
> 
> --
> You are receiving this mail because:
> You are the assignee for the bug.
> You are on the CC list for the bug.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmymoney] [Bug 431373] Incorrect Balance Values in Reconcile View of Ledger

2023-04-14 Thread Jack
https://bugs.kde.org/show_bug.cgi?id=431373

Jack  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #11 from Jack  ---
Your second attachment was of the error message, not of the reconcile ledger. 
I occasionally also receive that error pop-up, but it has not seemed to ever
actually cause any problems for me, and that includes checking, credit card,
and investment accounts.  Can you create a test file which shows the problem
that you can attach?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmymoney] [Bug 431373] Incorrect Balance Values in Reconcile View of Ledger

2023-02-26 Thread Matthew Grimes
https://bugs.kde.org/show_bug.cgi?id=431373

Matthew Grimes  changed:

   What|Removed |Added

   Assignee|kmymoney-de...@kde.org  |engr.blacksmith@protonmail.
   ||com
 Status|NEEDSINFO   |REPORTED
 Resolution|WAITINGFORINFO  |---

--- Comment #10 from Matthew Grimes  ---
Created attachment 156761
  --> https://bugs.kde.org/attachment.cgi?id=156761=edit
screen shot of Credit card reconcile. Total of cleared transaction not same as
brown bar total

This is a screen shot of Credit card reconcile attempt in my Kmoney. Software
indicates proper starting balance amount, I entered the ending balance amount
and marked my cleared transactions in the register. The puck brown summary bar
indicates 1 charge and 20 payments. Should be 20 charges and one payment. The
totals shown in the summary bar are correct, ( $961.62 cleared, and $236
payment)  but the program shows a cleared amount of $11,053.60 which is not
correct, and does not agree with the brown bar amount. The difference value
under the register balance indicates $1,451.24 instead of zero.  I get a
warning (image #2) that says there is a difference between statement and
cleared amounts and asks for confirmation to proceed. Reconcile of my checking
account does not have this problem.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmymoney] [Bug 431373] Incorrect Balance Values in Reconcile View of Ledger

2023-02-15 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=431373

--- Comment #9 from Bug Janitor Service  ---
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmymoney] [Bug 431373] Incorrect Balance Values in Reconcile View of Ledger

2023-02-01 Thread Thomas Baumgart
https://bugs.kde.org/show_bug.cgi?id=431373

Thomas Baumgart  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO

--- Comment #8 from Thomas Baumgart  ---
Is the problem still present after the recent changes to the code?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmymoney] [Bug 431373] Incorrect Balance Values in Reconcile View of Ledger

2023-01-29 Thread Thomas Baumgart
https://bugs.kde.org/show_bug.cgi?id=431373

--- Comment #7 from Thomas Baumgart  ---
Git commit d193f80579bed84a0cce4ca17ba336b815ea507e by Thomas Baumgart.
Committed on 29/01/2023 at 13:40.
Pushed by tbaumgart into branch 'master'.

Improve handling of reconciliation

The previous implementation caused all transactions marked as reconciled
to be hidden no matter if they are within the period of of the statement
or not. Also, transactions not marked reconciled but have a post date
prior to the start of the statement were not correctly displayed during
the reconciliation process. This caused the balances to become
"incorrect".

This has been changed to show all transactions from the date of the
first non-reconciled one even if that is prior to the last
reconciliation. All reconciled transactions that have a post date that
is within the period of the statement are also not hidden anymore and
taken into account when calculating the balances. Transactions younger
than the statement date are not taken into account for balance
calculation as before.

I am not sure if this fixes the reported problem 431373 but it is
certainly an improvement.
Related: bug 438936
FIXED-IN: master

M  +21   -11   kmymoney/models/ledgerfilter.cpp
M  +16   -0kmymoney/models/ledgerfilter.h
M  +2-0kmymoney/views/reconciliationledgerviewpage.cpp
M  +5-0   
kmymoney/wizards/endingbalancedlg/checkingstatementinfowizardpage.cpp
M  +7-0   
kmymoney/wizards/endingbalancedlg/checkingstatementinfowizardpage.h
M  +92   -37   kmymoney/wizards/endingbalancedlg/kendingbalancedlg.cpp
M  +9-0kmymoney/wizards/endingbalancedlg/kendingbalancedlg.h

https://invent.kde.org/office/kmymoney/commit/d193f80579bed84a0cce4ca17ba336b815ea507e

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmymoney] [Bug 431373] Incorrect Balance Values in Reconcile View of Ledger

2023-01-19 Thread Matthew Grimes
https://bugs.kde.org/show_bug.cgi?id=431373

Matthew Grimes  changed:

   What|Removed |Added

 CC||engr.blacksmith@protonmail.
   ||com

--- Comment #6 from Matthew Grimes  ---
Problem is with checking account also Jan 2023.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmymoney] [Bug 431373] Incorrect Balance Values in Reconcile View of Ledger

2021-01-25 Thread Thomas Baumgart
https://bugs.kde.org/show_bug.cgi?id=431373

Thomas Baumgart  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |REPORTED

--- Comment #5 from Thomas Baumgart  ---
Updating status

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmymoney] [Bug 431373] Incorrect Balance Values in Reconcile View of Ledger

2021-01-24 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=431373

--- Comment #4 from Bug Janitor Service  ---
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmymoney] [Bug 431373] Incorrect Balance Values in Reconcile View of Ledger

2021-01-09 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=431373

--- Comment #3 from alrtzgkse...@opayq.com ---
Ah ha! I figured out the cause.

One of the later transactions (2020-10-22) for the affected security was marked
as reconciled. When I clear the "reconciled" state for that transaction, that
removed the extra shares that were showing up.

This is both expected and unexpected behaviour. Expected because the reconciled
balance totals include all reconciled transactions. Unexpected because it does
not seem obvious that transactions beyond (later/after) the period being
reconciled would be included.

So, my thoughts are that it might be good to filter out reconciled transactions
with postdates after the period being reconciled or maybe have a warning if any
exist. But, it is definitely an edge case.

STEPS TO REPRODUCE
1. Mark a transaction outside/later the affected time period as "reconciled"
2. Start Reconcilation process for the earlier time period
3. The earlier time period will include the shares/value from _all_ reconciled
transactions for the affected security.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmymoney] [Bug 431373] Incorrect Balance Values in Reconcile View of Ledger

2021-01-09 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=431373

--- Comment #2 from alrtzgkse...@opayq.com ---
Thank you for the quick response.

>First, reconciling it not really supported for Investment accounts.
Right. I was told the same thing when I asked in chat. I am primarily
reconciling to move the Last Reconciled bar with no concern for the cash value;
I also manually verify the security balances affected during the period, which
is where I noticed that they were not adding up correctly.


>Also note (I don't know if it affects your case) the balance in an investment 
>ledger is the currently owned number of shares of the security reference in 
>that transaction, not any sort of account grand total or value.
I am aware of the distinction that the balances (or number of shares) are
specific to each security. The number of total shares for the affected security
are inaccurate when reconciling, yet accurate in the non-reconcile ledger view.


>I assume your line "--investment account reconciled--" indicates the divider 
>bar in the ledger from a previous reconciliation.
Correct. 


>Also, your numbers do not make any sense.
Whoops. Corrected (and expanded) values here and in my original attachment.

OBSERVED RESULT

[Ledger View, not reconcile]
1. Buy 32.74 shares -> Balance: 32.74
--investment account reconciled--
2. Buy 2.904 shares -> Balance: 35.644
3. Buy 0.203 shares -> Balance: 35.847
4. Buy 2.622 shares -> Balance: 38.469
5. Buy 2.590 shares -> Balance: 41.059


[Reconcile (ledger)]
--Last reconciliation--
1. Buy 2.904 shares -> Balance: 37.730
2. Buy 0.203 shares -> Balance: 37.933
3. Buy 2.622 shares -> Balance: 40.555
4. Buy 2.590 shares -> Balance: 43.145

EXPECTED RESULT

[Ledger View, not reconcile view]
1. Buy 32.74 shares -> Balance: 32.74
--investment account reconciled--
2. Buy 2.904 shares -> Balance: 35.644
3. Buy 0.203 shares -> Balance: 35.847
4. Buy 2.622 shares -> Balance: 38.469
5. Buy 2.590 shares -> Balance: 41.059

[Reconcile (ledger)]
--Last reconciliation--
1. Buy 2.904 shares -> Balance: 35.644
2. Buy 0.203 shares -> Balance: 35.847
3. Buy 2.622 shares -> Balance: 38.469
4. Buy 2.590 shares -> Balance: 41.059


>Also, after reconciliation, you should still have the two buy transactions.  
>Are there any other transactions displayed?
Yes, I have dozens of transactions afterwards for the affected security
throughout the year, among some other securities. I did not have an easy way to
redact the remaining transactions from my original screenshot. I have added
further entries to the OBSERVED RESULT section.

In the reconciliation ledger view, the balance for the first transaction is
incorrect. The subsequent math is valid for transactions and their change in
the balance (number of total shares for the security), but the balance is
incorrect due to the first transaction share count being incorrect.

>Separately, if you can provide a sample .kmy  or .xml file which demonstrates 
>the problem with a credit card account, that would help.
If it happens, again, I'll find a way to share the data. The affected data was
in a SQLite3 database that I wrote off as a one-off quirk of SQLite3 and
deleted. After restoring from a .kmy (XML) backup and re-entering the credit
card transactions, the values were correct. 


FURTHER THOUGHTS

(this is a stretch and I don't think it should be related, but adding just in
case) 
I've also recently been using the CSV importer. I can't say for certain at this
point (it was several weeks ago), but I may have imported the credit card
transactions in the original situation. For certain, I can say that I have
imported the last few months of transactions related to the affected investment
security. However, all of the transactions and splits for the affected account
retrieved by getsplitpart.pl appear valid and add up correctly. 

Is there somewhere else in the XML file that is touched by the CSV importer
that could be referenced by the reconcile wizard when it is calculating its
version of the ledger?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmymoney] [Bug 431373] Incorrect Balance Values in Reconcile View of Ledger

2021-01-09 Thread Jack
https://bugs.kde.org/show_bug.cgi?id=431373

Jack  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO

--- Comment #1 from Jack  ---
First, reconciling it not really supported for Investment accounts.  It works
(in that it does something) but you are really on your own there. 
Reconciliation deals with cash balance and there is no cash in an Investment
account.  I do reconcile all my Investment accounts, but the balances are not
affected, that I have ever seen.  Also note (I don't know if it affects your
case) the balance in an investment ledger is the currently owned number of
shares of the security reference in that transaction, not any sort of account
grand total or value.

With that said, the reconciliation process should not affect any balance, since
it doesn't add or alter any transaction.  In accounts other than Investment, it
changes Cleared transactions to Reconciled, but it does not do that for
Investment accounts.

I assume your line "--investment account reconciled--" indicates the divider
bar in the ledger from a previous reconciliation.  If not - please explain. 
Also, your numbers do not make any sense.  If the first buy is 32.74 shares,
then yes, the balance should be 32.74.  If the second buy is 32.904 shares,
then the balance should be 65.644 shares, but if the second by is 2.904, the
balance is correct.  Also, after reconciliation, you should still have the two
buy transactions.  Are there any other transactions displayed?

Separately, if you can provide a sample .kmy  or .xml file which demonstrates
the problem with a credit card account, that would help.

-- 
You are receiving this mail because:
You are watching all bug changes.