How do I trigger the loan security shortfall in ERPNext?

I have been trying to know how I can create a scenario for loan security shortfall. If you have any idea how I can successfully do that, please let me know. Thank you!