Skip to main content

Unable to email some PDF invoices that have timesheet images included

When clicking on Email PDF Invoice for some invoices, the following error occurs: An unhandled Exception has occured. Details : The process cannot access the file '...\PdfInvoice\26707\Invoice(XXXXX).pdf' because it is being used by another process.

Written by Terence Cassidy
Updated over 2 months ago

When attempting to view or email a PDF invoice and choosing to include any timesheet images that may have been linked, if the timesheet image is too large the process may stall and nothing appears to happen. Upon trying again the user may see an error similar to that described above.
โ€‹An unhandled Exception has occured.
โ€‹
The Unhandled Exception error occurs because the Program is still trying to process the first attempt - you will need to close the RDB program down and log back in.
โ€‹
Please ensure that all the users who need to use invoicing, have the following setting ticked :

  1. On tjhe Ribbon, Click Options and then click Manager.

  2. Click Plugin Packages.

  3. Under PackageFullName type invoice.

  4. Click the A next to the field and choose Contains.

  5. Highlight any of the Pdf related plugins.

  6. Click Options.

  7. In the PDF Settings window that opens, make sure the Compress and Split Images box is ticked.

  8. Click Save & Close.

Go back to the Invoice Index and proceed as normal.

Did this answer your question?