Generate and Email Reports

KimKim Member Posts: 85
Hi All;
I am currently able to convert Navision Reports to Pdf How can I Email these reports after conversion from Navision.
Any HELP
:-k

Comments

  • rsfairbanksrsfairbanks Member Posts: 107
    try looking at codeunit 397 (Mail), esp function NewMessage
  • SavatageSavatage Member Posts: 7,142
    have you search the forum for "PDF" lots of posts.

    What program are you using to convert to pdf?

    for me I use pdf995 & pdf995edit to auto create the email

    http://www.mibuso.com/forum/viewtopic.php?t=6767

    spend some time looking at the PDF posts and you'll probably find a solution that fits your needs perfectly.

    Here's another goody - hey I had 180 posts back then.
    http://www.mibuso.com/forum/viewtopic.php?t=3375
  • KimKim Member Posts: 85
    Pdf995 is a good idea I was just wondering is there a way i can be able to automatically save the file from within Navision.
    How can i trigger the Conversion in C/AL and also speficy the location for the pdf file.
  • SavatageSavatage Member Posts: 7,142
    http://www.pdfedit995.com/
    Automatically attach a PDF to an email message for sending. (This requires that a default MAPI compliant email client such as Microsoft Outlook is specified.)
    Autoname provides 3 options-
    a. Name and specify location of the PDF document using the "Save As" dialog (default).
    b. Automatically name the document based on the originating document and save it in the pdf995\output folder.
    c. Save all PDF documents to the same filename. When this is selected the user is prompted to specify a PDF filename. This can be helpful when pdf995 is incorporated into automated workflow systems.
  • Rob_HansenRob_Hansen Member Posts: 296
    edited 2006-06-14
    If you're interested, we created an add-on to streamline this. With our product installed, it's about 10 lines of code to generate a Navision report as a PDF and email it.

    Product information is available at
    http://www.altusbusinesssolutions.com
  • KimKim Member Posts: 85
    Harry
    Have used pdf995 and am able to save the pdf. file and even attach to an email. My problem is i have to manually initialize the printing process using the print button. I would like to automate the process Loop through the employees initialize the conversion process. You have an IDEA how i can initialize the printing process in C/AL code.


    rdhansen
    http://www.altusbusinesssolutions.com. --the link is not workin??

    Thanks
  • Rob_HansenRob_Hansen Member Posts: 296
    Sorry about that Kim - I've edited my post to correct the link. It should be good now:

    http://www.altusbusinesssolutions.com

    See the Developer Information link on the left. It has sample code that you would mimmick on each loop through a record (eg. generate and email a report for each Customer). This would generate the PDF and email it with no use prompts (to Print, etc.).
  • SavatageSavatage Member Posts: 7,142
    Kim wrote:
    Harry
    Have used pdf995 and am able to save the pdf. file and even attach to an email. My problem is i have to manually initialize the printing process using the print button. I would like to automate the process Loop through the employees initialize the conversion process. You have an IDEA how i can initialize the printing process in C/AL code.


    rdhansen
    http://www.altusbusinesssolutions.com. --the link is not workin??

    Thanks

    I'm not sure what you mean - at some point a button will have to pressed to say "yes, i need a pdf of this doc"
Sign In or Register to comment.