"Another" Mail tool which allows to send reports as PDF from Navision/Dynamics NAV.
This small tool utilizes the PDFCreator automation object to temporarily change the system default printer to the PDFCreator, changes the target file name and prints the document.
No matter if printing fails with an error or not - the system sets the default printer back to the original selected.
to call the "Send" function just instantiate the CU50006 and call one of the "Send" functions passing the record and the "ShowDialog" option.
The CU is provided as is and I will not take any guarantee that it works under all circumstances (nevertheless it works for my customers).
What settings must I make before these code units work? Thanks! (Nav 5.0 SP1)
It works for NAV 5...but I am currently using NAV 2009 R2...how shall I proceed???
How do I use this feature? Should I run it directly?
These objects works just perfect, I have installed PDFCreator-0_9_8 and Updated the automation variables, recompile and worked perfectly..! many thanks!
We are facing a error, here I had imported the objects and run the codeunit 50006. Its showing a error that the sales header record has no parameter. What to do for solving this error.
How I open ntis file (with .fob)?
The code in this download is more or less equal to that in other downloads on various websites. However, the statements in this example that make Navision wait until the document is converted (PDFCreator.cIsConverted etc.) make a big difference. I have found that with this code the option to create pdf's has become much more reliable. I recommend to have a look at this download to anyone who has had troubles implementing pdf-creator in combination with Navison. Thanks Thomas!