Home > Dynamics SL (Solomon) Technical Info > Dynamics SL Quick Send feature – bad PDF attachment in Email

Dynamics SL Quick Send feature – bad PDF attachment in Email

While setting up the Quick Send feature for a client today, I ran into a problem. We had set up certain customer’s to get their OM Invoices emailed as a PDF attachment.  The emails that were sent from Application Server had an attachment whose file name had a PDF extension, but the file size was only 230 bytes – much too small to be a valid PDF file.

I think the problem was that client had customized the OM Invoice (40680.rpt) and that file had been living in their Usr_Rpts folder for some time. (The file date was in 2006.)  I think that the custom report had been saved with a previous version of Crystal.  Even though that customized report worked fine for normal Invoice printing, for some reason when Application Server tried to run the report to export to PDF – it failed.

When I opened the custom report in the version of Crystal that SL currently uses (version 10) and saved it (and fixed it up – see this post for more details), the email attachments generated valid PDFs after that.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: