Examples of resetDerivedComponents()


Examples of org.mifosplatform.portfolio.loanaccount.domain.LoanTransaction.resetDerivedComponents()

            if (loanTransaction != preCloseTransaction) {
                transactionDate = recalculationDates.get(transactionDate);
            }
            final LoanTransaction newLoanTransaction = LoanTransaction.copyTransactionProperties(loanTransaction);
            if (newLoanTransaction.isRepayment() || newLoanTransaction.isInterestWaiver() || newLoanTransaction.isRecoveryRepayment()) {
                newLoanTransaction.resetDerivedComponents();
            }

            Money unProcessed = processTransaction(newLoanTransaction, currency, installments, amountToProcess);
            if (loanTransaction.getTransactionDate().isEqual(maxTransactionDate) && transactionDate.isAfter(installment.getFromDate())
                    && transactionDate.isBefore(installment.getDueDate())) {
View Full Code Here

Examples of org.mifosplatform.portfolio.loanaccount.domain.LoanTransaction.resetDerivedComponents()

    public void applyTransaction(List<LoanTransaction> transactionsPostDisbursement, MonetaryCurrency currency,
            List<LoanRepaymentScheduleInstallment> installments) {
        for (final LoanTransaction loanTransaction : transactionsPostDisbursement) {
            Money amountToProcess = null;
            final LoanTransaction newLoanTransaction = LoanTransaction.copyTransactionProperties(loanTransaction);
            newLoanTransaction.resetDerivedComponents();
            processTransaction(newLoanTransaction, currency, installments, amountToProcess);

        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.