Title: Message Title
|
|
How is the loan schedule being calculated? Doesn't it need all other fields?
Also, even if we modify the validation logic in org.mifosplatform.portfolio.loanaccount.serialization.CalculateLoanScheduleQueryFromApiJsonHelper.validate(json), still org.mifosplatform.portfolio.loanaccount.loanschedule.service.LoanScheduleCalculationPlatformServiceImpl.java.calculateLoanSchedule(jsonQuery) will throw error since fields like "productId" will still be missing. I think it would be better if we could add all the necessary fields required to calculate the loan schedule along with our input json body in LoanApiResource.java file under @PUT. So, that it can be passed properly to any other function utilizing it. Need feedback/suggestions to move forward with this.
|
|
|
|
|
|
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Mifos-issues mailing list
Mifos-issues@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mifos-issues