openMF / community-app

This was the former default web application built on top of the Apache Fineract platform. It's now deprecated and replaced by the the Mifos X Web App (https://github.com/openMF/web-app maintained by the Mifos Initiative as a reference solution for financial inclusion. It is a Single-Page App (SPA) written in web standard technologies.
http://openmf.github.io/community-app/
Mozilla Public License 2.0
312 stars 1.02k forks source link

Loan_Counter field in DB not filled #1907

Open santoshconflux opened 7 years ago

santoshconflux commented 7 years ago

Reported by @Sander Van Der Hayden at https://mifosforge.jira.com/browse/MIFOSX-1499

Original Description: In the DB for each loan there are 2 counters, the Loan_product_counter (counting which cycle of this product the client is in), and the loan_counter (counting the total # of loans the client has had). When building a report we found out that loan_counter is not filled and always remains NULL.

edcable commented 4 years ago

@bharathcgowda this is being treated as a reporting-level issue which is why it's here and no longer in Fineract issue tracker - is it something you can resolve?

bharathcgowda commented 4 years ago

@edcable Loan product counters and Loan counters at DB level are updated by back-ed. provided if the loan counter is enabled at the loan product level. if the checkbox is disabled then the counters for the loans of those products will be NULL.

These counters are not handled by reports, even if in some reports that would wrong as the back-end is already built to do the counter.