[Mifos-users] Specify status when listing loans

250 views
Skip to first unread message

Kigred Developer

unread,
Feb 17, 2022, 10:47:18 PM2/17/22
to mifos-d...@lists.sourceforge.net, A good place to start for users or folks new to Mifos.
Hello Devs,

Is there a way to specify status when listing loans. I need to query loans of different status for example status='Pending Approval'. I am aware that I can run a report and get these lists but that alternative cannot fit what I am looking for since it requires user input/actions.
I can see one can specify sqlSearch argument, this is probably what I would use but I have not been successful with it so far. Can some help with an example?

Regards.

Bharath Gowda

unread,
Feb 18, 2022, 9:29:05 AM2/18/22
to A good place to start for users or folks new to Mifos., mifos-d...@lists.sourceforge.net
Hi Kigred,

Stretchy reports can be created on your instance, use the below user manual which will help you in creating one.

For example, I have created a sample report named 'loan listing' on the demo instance, you could check it out as a reference as well
Please note I have used a few columns as an example, you can modify the query further as per your needs.
to modify the report go to admin->system->manage reports

username: mifos
password: password

report name: loan listing

sample screenshot of the same
image.png
Regards,
Bharath
Lead Implementation Analyst | Mifos Initiative
Skype: live:cbharath4| Mobile: +91.7019635592


_______________________________________________
Mifos-users mailing list
Mifos...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mifos-users

JOSE ALBERTO HERNANDEZ MALDONADO

unread,
Feb 18, 2022, 10:08:48 AM2/18/22
to A good place to start for users or folks new to Mifos., Mifos software development
Hello!

Yes there is a query parameter to filter Loans the sqlSearch

/fineract-provider/api/v1/loans?limit=1000&sqlSearch=l.loan_status_id+in+(100)

or if you need more than one Loan status

/fineract-provider/api/v1/loans?limit=1000&sqlSearch=l.loan_status_id+in+(100,200)

The status code are:
100: Submitted and Pending Approval,
200: Approved,
300: Active (Disbursed)
301: Overdue
302: Overdue NPA
400: Withdrawn by Client
500: Rejected
600: Closed Obligations Meet
700: Closed Overpaid

Thanks
Alberto

Kigred Developer

unread,
Feb 19, 2022, 9:24:46 AM2/19/22
to A good place to start for users or folks new to Mifos., Mifos software development
Thanks Alberto. This is definitely what I am looking for.
Regards
Wilfred

jubha mayala

unread,
Aug 23, 2022, 5:24:58 AM8/23/22
to A good place to start for users or folks new to Mifos., Mifos software development
Hi all!
I am also looking to add parameters on this loan listing, and these parameters are Gender and age, how can this be added?

Your support is so much appreciated.
Regards,

Jubha

Ankit Muellner

unread,
Aug 23, 2022, 7:24:10 AM8/23/22
to A good place to start for users or folks new to Mifos., Mifos software development
Jubha can list any data pointer with a data table approach + drop down with Code values. See Mifos user manual. 


An ethical approach might be to reject parameters like Gender as a credit access pointer in an open source globally compliant system. 

World is changing. 

Hope u can consider this blog! 
If you r still curious about listing Gender as a data pointer, then perhaps ensure that your organisation has a grievance redressal structure and a DPO mandate, such that this listed data pointer is warranted to not be processed for credit assessment, & is only being collected to establish unique ID in the system. Now a tenant cannot always ensure this, cause of public policy gaps in different jurisdictions.

Please read this working paper too. 
In absence of a strong DPO, we should try to contain the interpersonal corporeal and sentient bias at a global standard of awareness with epistemic justice to this open source product, nothing like it. 

For this, we should ensure that science based standards on data collection by setting up a Global Configurations standard for Gender.  

Thanks for your consideration. Have a great week ahead! 
--
Ankit
Managing Partner
Muellners Inc

This mail is governed by Muellners® IT policy.
The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. All messages sent to and from this e-mail address may be monitored as permitted by applicable law and regulations to ensure compliance with our internal policies and to protect our business. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by e-mail.
Reply all
Reply to author
Forward
0 new messages