final BigDecimal interestActualDue = interestExpectedDue.subtract(interestWaived).subtract(interestWrittenOff);
final BigDecimal interestOutstanding = interestActualDue.subtract(interestPaid);
final Integer installmentNumber = JdbcSupport.getIntegerDefaultToNullIfZero(rs, "period");
final OverdueLoanScheduleData overdueLoanScheduleData = new OverdueLoanScheduleData(loanId, chargeId, dueDate, amount,
dateFormat, locale, principalOutstanding, interestOutstanding, installmentNumber);
return overdueLoanScheduleData;
}