[ 
http://mifosforge.jira.com/browse/MIFOS-1954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57702#action_57702
 ] 

johnwoodlock commented on MIFOS-1954:
-------------------------------------

Have outstanding question with Emily (or any person who knows the requirements 
for this area).

"from comments in http://mifosforge.jira.com/browse/MIFOS-1954 and 
http://mifosforge.jira.com/browse/MIFOS-2136 I think the value for "Amount of 
last Group Loan" (group performance history) and "Amount of last Loan" (client 
performance history) should be the loan amount of the last loan that has the 
status  "Closed-Obligations Met" (status 6).

Currently, the group value is set to the disbursement amount on disbursal 
(right value, wrong time) and the client value is set to whatever the last 
repayment was. (right time, wrong value)

Just want to make sure I've got it right."


I have made the code changes (not committed, can undo if necessary) and started 
work on the db upgrade required to make current values correct.  However, two 
concerns that maybe there's more to this than I understand are:

1/ The group field on the database is called LAST_GROUP_LOAN_AMNT_DISB.  This 
suggests that the original intention was indeed to set the amount on 
disbursement and I'd have to change the field name for this change (that's not 
a big deal).  What I don't know is if people would have used this field 
previously on reports... or is it just a matter of saying in release notes that 
it used to get set with the wrong value... this is what it does now... and if 
you report on it we changed the name to avoid confusion.

2/ Reversing loan disbursal function (on Admin page).  This undo's a disbursal 
(and any repayments) for a loan.  It sets the 'last loan amount' too.  Based on 
my new understand there is no need for it to do that.

> Logic used for "Last Loan Amount" for group loan and client loans are 
> different
> -------------------------------------------------------------------------------
>
>                 Key: MIFOS-1954
>                 URL: http://mifosforge.jira.com/browse/MIFOS-1954
>             Project: mifos
>          Issue Type: Bug
>          Components: Loan Account
>    Affects Versions: Release 1.1
>         Environment: Platform: All, OS: All
>            Reporter: arpita_a
>            Assignee: johnwoodlock
>            Priority: Critical
>             Fix For: Gazelle Backlog
>
>
> Hi,
> The logic used to calculate "Amount of last loan" on group page and client 
> page 
> are different. 
> The logic used for each are as follows:
> 1. For Group Loans - The "Amount of last group loans" under Performance 
> History 
> gets updated based on the last group loan disbursed.
> 2. For Client Loans - The "Amount of last group loans" under Performance 
> History gets updated based on the last client loan repaid.
> Environment:
> Operating System / Arch / Version Windows XP / x86 / 5.1 
> Java Vendor / Version Sun Microsystems Inc. / 1.5.0_10 
> Database Vendor / Version MySQL / 5.0.45-community-nt 
> Database Driver / Version MySQL-AB JDBC Driver / mysql-connector-java-5.1.5 ( 
> Revision: ${svn.Revision} ) 
> Application Server Apache Tomcat/6.0.16 
> Mifos Database Version 197 
> Subversion Revision Number 13047

-- 
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

        

------------------------------------------------------------------------------

_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to