Quantcast
Channel: Dynamics User Group
Viewing all articles
Browse latest Browse all 15740

Empty report when saving to file...

$
0
0

Hi all,

I have a static server method in a class that is designed to save an Invoice report to a file location.  The code is similar to this link (the main difference is that MY method is static server and I added some code to set permissions for the file path) : 

http://axwonders.blogspot.com/2011/02/save-microsoft-dynamics-ax-2009-report.html

Anyways I am trying to run this class as a batch job on the server.  It will produce a file in the location with the correct name and file extension, BUT its only 1KB in size and cannot be opened in a PDF viewer.  Typically these reports are around 900KB for a couple pages.  If anyone knows why its not actually producing a good PDF I would appreciate any insight you could provide.  

Thanks,

Bob


Viewing all articles
Browse latest Browse all 15740

Trending Articles