Roxanne,
Make a backup first.
Do it again and store it somewhere else just to be safe.
Contact Paymentech and find out what batch number they are looking for.
*** CAUTION *** This routine will probably add all transactions together and close as a single batch SINCE that bad close.
Go into SO Administrator | File | Connect | enter your password.
Go to Query | New | type;
SELECT Max(RequestBatchNumber)+1 FROM VisaNetBatch
Press F5 to run it. Write that number down. That is what RMS assumes to be your next batch number.
Go to Query | New | type;
UPDATE VisaNetAuthorization SET Status = 0, VisaNetBatchID = Y WHERE Status = 5
Where Y is the number that Paymentech wants.
Press F5 to run it.
Exit SO Admin and do not save the queries.
Go into SO Manager and close the batch again.
Call Paymentech to see if batch closed properly, if not, restore your databases and call MS support.