You can do it in the same suitelet if you want you...
# suitescript
c
You can do it in the same suitelet if you want you'll just need a button or some way of triggering that export