Rolling back Invoice Entries

SOLVED

Hello, I am importing large batches of invoice entries using the File > Import in the A/P Invoice Entry window. I find that if an invoice has error importing the process will stop and all of the previous ones in the file will remain in the system, and I have to go and delete them manually. Can I change a setting somewhere so that all the previous ones are automatically removed?