fineract-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Nnaa (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FINERACT-74) Allow splitting of interest income on the loan among guarantors
Date Mon, 14 Mar 2016 13:33:33 GMT
Emmanuel Nnaa created FINERACT-74:
-------------------------------------

             Summary: Allow splitting of interest income on the loan among guarantors
                 Key: FINERACT-74
                 URL: https://issues.apache.org/jira/browse/FINERACT-74
             Project: Apache Fineract
          Issue Type: Improvement
            Reporter: Emmanuel Nnaa
            Assignee: Markus Geiss


After a loan is completed we want the interest on that loan to be also split into the different
accounts of the lenders. We should therefore:
- Add a flag to the m_product_loan_gaurantee_details table called split_interest_to_guarantors
and also add this flag to the loan product API
- If this flag is set, the guarantor code should automatically calculate the allocation of
the interest to the 3 lenders and generate a transaction in their savings account that gives
them these funds (deposit into the account)
- The source of these funds should be the interest-income account of the loan (if this is
a problem let me know so we can work on alternatives)
- We can discuss the effect of reversals etc in more detail later. 

The current functionality to handle the locking of guarantor funding is implemented in:
mifosplatform/portfolio/loanaccount/guarantor/service/GuarantorDomainServiceImpl.java

This is where we should also implement the interest split functionality.

This code responds to business events and can therefore handle the interest split in the same
way. I'm not sure if we can do it with the same event as the handle repayment?




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message