Before posting a batch you need to make sure the batch is correct before you post (update) the batch transactions to the ledger. 

You may edit the batch transactions before you post (update) the transactions to the ledger. 

Once incorrect transactions are posted (updated) to the ledger, you may need to: 

Process a another batch to correct the incorrect transaction or transactions in the batch.  

Process a credit note transaction for an incorrect sales transaction.

Process a return transaction for an incorrect purchase transaction.

Reverse the posted batch, etc.