Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameDatatypeLengthRemarks
idBIGINT20PRIMARY KEY and AUTOINCREMENT
currency_codeBIGINT20FOREIGN KEY m_currency.id
office_idBIGINT20FOREIGN KEY m_office.id
loan_idBIGINT20FOREIGN KEY m_loan.id
category_idBIGINT20FOREIGN KEY m_provision_category.id
overdue_in_daysBIGINT20DEFAULT 0
loan_outstanding_balanceBIGINT20DEFAULT 0
amount_to_bereservedBIGINT20DEFAULT 0
created_byBIGINT20FOREIGN KEY
created_onDATE NOT NULL
modified_byBIGINT20FOREIGN KEY
modified_onDATE  

 

 

...

Changes required in existing Classes:

org.mifosplatform.portfolio.loanproduct.service.LoanProductWritePlatformServiceJpaRepositoryImpl is used to create a loan product and to update existing loan product.

For new loan product application, we find find a method in org.mifosplatform.portfolio.loanproduct.domain.LoanProduct.assembleFromJson