There is a requirement to add a button in the Bad Debt Management window. After clicking it should create a txt file and it should download automatically. Any solution for this?

There is a requirement to add a button in the Bad Debt Management window. After clicking it should create a txt file and it should download automatically. Any solution for this?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.