Print Pdf from a Report

udaya726udaya726 Member Posts: 21
I need to print a pdf document from a NAV report.
for example if we are getting a report for a sales order(No:SO/09/0011212) i need to save my pdf document as same as the Sales order No.

Now it takes the report name as the default name. If we save report as Sales Order report pdf creator takes default name as Sales Order report. Instead of I need to pass the sales order No as the default name. Is there any tool or code unit to create that.
I have installed the pdf creator in my machine

Comments

  • ara3nara3n Member Posts: 9,256
    Have you looked at this post?

    viewtopic.php?f=5&t=18331&hilit=PDF+creator
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • udaya726udaya726 Member Posts: 21
    Thanks Buddy,
    I read this before. but my question is little different from this.
    In my my Client they have installed pdf creator.So we cant use any other thing.My requirement is this.
    I need to print a sales order using pdf creator and the default name of pdf should be the sales order no.
  • ara3nara3n Member Posts: 9,256
    If you look at the example closely, you can see that it provides the name through code.

    If the user manually prints a report to pdf, then the way I've seen it work is to change the caption of the report before printing the report.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.