Bulk delete empty Sales Order batches

SOLVED

We have a process synchronization from our online store into Sage using the SData API. We had a glitch that caused a large number of empty Sales Order batches to be created. There are no invoices on these batches, so I was wondering if there was a way to quickly delete all of these. If we had to go through the normal process of closing out all of these batches (1000s), it could take a VERY long time.

I'm not opposed to going into Data File Display and Maintenance and manually edit a table if that wouldn't break something else or cause data inconsistencies somewhere.

Thanks!