The Year End Function procedure cannot be run if you have unposted General Ledger Batches and/or Cashbook Batched - The Remove Unposted GL Transactions and Remove Unposted CB Transactions features make it much easier for you to quickly view and delete any nonessential batches / transactions
This feature is also a great way to ensure that no batches have been forgotten or erroneously ignored
In the screenshot above, we see that there are two batches that have been posted, and one batch (Batch Number 003) that has not yet been posted - We can see in the "No. of Unposted Recs" column that this specific batch has 1 unposted journal transaction within it
To remove a batch (and all the transactions within it), click to highlight the desired batch and click "Delete"
Note: Once a batch has been removed, it cannot be restored