[
http://mifosforge.jira.com/browse/MIFOS-4226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
keithwoodlock resolved MIFOS-4226.
----------------------------------
Resolution: Invalid
Fix Version/s: Release E
Release E - Iteration 12
Assignee: Kojo Gambrah-Sampaney (was: keithwoodlock)
Kojo, this part of it is a little bit confusing at first but based on the
details you have given this is not a bug.
The way 'interest posting dates' work for savings is that they occur every x
months. In this case you created a savings product that had a 3 monthly
interest posting. All dates are worked out from the start of the fiscal year in
mifos which is Jan the first always. So the valie 'interest posting dates' in
this case are:
end of march, end of june, end of september and end of december. So when you
created your account on 23-nov, it correctly set the next posting date (see
savings_account table) as end of december.
This is documented on the wiki here:
http://mifosforge.jira.com/wiki/display/MIFOS/Savings+Interest+Calculation+and+Posting#SavingsInterestCalculationandPosting-InterestPosting
> 3 month interest posting and calculation fails in MIFOSTEST-141
> ---------------------------------------------------------------
>
> Key: MIFOS-4226
> URL: http://mifosforge.jira.com/browse/MIFOS-4226
> Project: mifos
> Issue Type: Bug
> Affects Versions: Release E - Iteration 12
> Reporter: Kojo Gambrah-Sampaney
> Assignee: Kojo Gambrah-Sampaney
> Priority: Major
> Fix For: Release E - Iteration 12, Release E
>
>
> Manual testing of MIFOSTEST-141 revealed a failure such that interest was not
> posted in the third month, rather interest was posted at the end of the
> second month.
> My notes from this test case execution is as follows;
> MIFOSTEST-141 - http://mifosforge.jira.com/browse/MIFOSTEST-141
> Created voluntary savings product with the following details;
> 1. three month interest calculation
> 2. three month interest posting
> 3. 20 percent interest
> 4. balance for Interest calculation - minimum balance
>
> Created a savings account for a centre on 23/11/2010 with the following
> transactions
> 02/12/2010 deposit 3,000
> 02/12/2010 deposit 1,000
> 02/02/2011 deposit 1,000
> 02/02/2011 deposit 1,000
> 02/02/2011 deposit 1,000
> 02/02/2011 deposit 7,000 (non-specific client)
> The system date was moved to 02 Feb 2011 and the SavingsIntPostingBatchJob run
> The formula for interest calculation , A=P(1+r/n) can be expanded into
> A = P [ 1 + {(R/100 x D/F) / n) } ]
> since r = R/100 x D/F
> for this case,
> P = 3,000
> R = 20.0
> D = 70 days
> F = 365 days
> n = 3
> therefore ;
> A = 3000 x [1 + { (20/100 x 70/365) / 3} ]
> A = 3000 x 1.012785388
> A = 3038.356164384
> The result of the interest calculation by mifos (from transaction history)
> was ;
> 31/12/2010 Interest_Posting - 11 (note interest is posted in the
> second month and not in the third month per the savings product definition)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues