Database error code 81 Sage50c Pastel Partner

SOLVED

 Please can anyone help with this? I wanted to perform the year-end in Sage50c Pastel Paertner but there was an invoice batch that needed to be deleted and updated before the Year-end can be performed. tried deleting but it keeps long and nothing is been performed. I left it overnight but still nothing. so we decided to update the batch and this error keeps popping up with forces the user to close the software.