account_state_change_history and account tables not correctly updated when loan 
adjustments are made
----------------------------------------------------------------------------------------------------

                 Key: MIFOS-3479
                 URL: http://mifosforge.jira.com/browse/MIFOS-3479
             Project: mifos
          Issue Type: Bug
    Affects Versions: Release 1.5.1
            Reporter: Sam Birney
            Priority: Major



To repro:

1) make a repayment to close a loan
2) see that in the database there is a row showing the account has changed to 
closed_obligation_met in the account_status_change_history table, and the 
close_date of the account table for the loan has been set.
3) now apply an adjustment to the loan, removing the last payment, which makes 
the loan open again.
4) see that in the database the close_date and account_status_change_history 
tables have not been updated to reflect the adjustment

expected behavior:

the account_status_change_history and account tables should not show that this 
loan is closed.

this bug makes it hard (or impossible?) to accurately get a historical count of 
active loans for a date in the past, which is very important to know for the 
business owners of an MFI.

open question:

should the close_date of the loan reflect the payment date or the action_date 
for the payment that closed the loan?  It seems to currently show the 
action_date, but would payment_date make more sense when a backdated 
transaction is entered?  

For business purposes, the loan was closed when the final payment was made, not 
when the data was entered.  If the PMs agree the close_date should be the 
payment_date and not the action_date, perhaps we should enter a separate bug 
for that?









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

        

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to