Either create and post a second batch to prior year that is identical to the first but with debits and credits reversed (to net everything to zero), or restore your data from a good backup and before posting that batch to prior year.
_________________________
Regards,
Softrak Tech Support