Hi,
We are working on validating the Collection Sheet batch job 
(CollectionSheetHelper.java). After going through the
code I had these questions about the business logic which was not clear to 
me:

1) In CollSheetLnDetailsEntity.addAccountDetails() you have: 
this.totalPrincipalDue = 
this.originalLoanAmnt.subtract(overDueAmounts.getTotalPrincipalPaid());

However overDueAmounts.totalPrincipalPaid is never assigned and is always 
zero. Is that correct behaviour?
(The method OverDueAmounts.add() is where the rest of the values of 
overDueAmounts are set)

2) It is not clear what the table loan_fee_schedule represents. This is 
what we've figured out:
Every loan (loan_account, LoanBO) has many loan schedules 
(LoanScheduleEntity, loan_schedule). 
And every loan schedule has many loan fee schedules 
(LoanFeeScheduleEntity, loan_fee_schedule) 

Is it because every loan schedule can have different types of fees?

I am referring to this URL for documentation on this batch job: 
http://www.mifos.org/knowledge/functional-specs/collection-sheet
Is there any other relevant resource that I am missing?

Thanks,
Pramod Biligiri,
ThoughtWorks
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Reply via email to