Bug 475501 - account type loan, modus I am lending money, generated scheduled transaction never ends
Summary: account type loan, modus I am lending money, generated scheduled transaction ...
Status: CONFIRMED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.1.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-12 06:33 UTC by Peter
Modified: 2023-11-18 22:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2023-10-12 06:33:00 UTC
SUMMARY
***
the definition and calculation seems to be correct - but the scheduled transaction ignors end point

***

Definition:
I am lending money
1st payment 01.01.2024

loan amount: 5000
interrest: rate: 5%
term: 10 Months (automatic calculated)
principal + interrest: 500
Final amortisation payment: -114,81 (why minus?)

scheduled transaction seems to run for ever, it doesn't stop at 01.10.2024.

first I found it in Graphics/reports - the account runs negativ  

I am using kmymoney for many years, for next years investing money as additional pension, I did all the calculation in librecalc and transfering every booking by hand into kmymoney.
Now I understand the account type loan - and it seems to work very well - the automatic calculated results fits with my models - but in real it doesn't function.

For now, I have to go back manuell calulation/bocking.

SOFTWARE/OS VERSIONS
Xubuntu 
Distributor ID:	Ubuntu
Description:	Ubuntu 23.04
Release:	23.04
Codename:	lunar
Comment 1 Jack 2023-11-18 22:48:04 UTC
I think the negative final payment is because the money is being paid to you, not what you are paying someone else, so it may look odd, but I think it is OK.
I've replicated this issue, and suspect it will take me a while to figure out exactly what is going on.   My current suspicion, before actually looking at the code, is that scheduled transactions for loan accounts are handled specially in terms of adjusting the interest and amortization amounts and also determining when the schedule actually ends.