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

Lukasz Chudy commented on MIFOS-2240:
-------------------------------------

In Release 2.2, there are no negatives values in fees column, but still it is 
possible to enter fee of 0.020 and there is no error message that the fee 
should be same
precision or less as the rounding rules.
                
> Fees with more precision than rounding rules cause problems with adjustments
> ----------------------------------------------------------------------------
>
>                 Key: MIFOS-2240
>                 URL: http://mifosforge.jira.com/browse/MIFOS-2240
>             Project: mifos
>          Issue Type: Bug
>          Components: Fee
>    Affects Versions: Release 1.1
>         Environment: Platform: All, OS: All
>            Reporter: Jeff Brewster
>            Assignee: mifosdeveloperqueue
>            Priority: Major
>             Fix For: Unscheduled
>
>         Attachments: isssue2240.JPG
>
>
> Fees can be created for loans with more digits after decimal precision than 
> the
> application's RoundOffMultiple setting.  When the user applies these fees, 
> they
> get rounded.  If the rounded payment is later adjusted, the interest posting 
> and
> running balance has the chance of being a negative number.  
> Repro steps:
> 1. Modify mifos configuration file so initial and final RoundOffMultiple are 
> set
> at 0.1 and digits after decimal set to 3.  
> 2. Start Mifos.
> 3. Create upfront loan fee of 0.020.
> 4. Create loan product using the upfront fee, loan balance of 500.0, 123
> payments, and interest of 36%. 
> 5. Create loan account for this loan product and disburse loan.
> 6. Apply payment, apply adjustment to reverse previous payment, then make
> several payments.  (See attached schedule)
> Actual result:
> Note negative values in 'fees' column (Frais on screenshot) and total balance
> column.
> Expected result:
> Only allow fees with same or less precision than rounding rules.  If user 
> tries
> to enter fee of 0.020, give user an error message that the fee should be same
> precision or less as the rounding rules - e.g. 0.1, 0.5, etc.  Another option
> might include stricter validation of the fee input field.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
http://mifosforge.jira.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to