Print conditions of sales in a report selected to out as PDF

ignasijuanignasijuan Member Posts: 21
edited 2014-07-23 in NAV Three Tier
Hi!:
I need a little help to print a report.

I have a document (Sales Shipment). If I print it on paper, the paper already has pre-printed on the back the General conditions of sale, but if I print it in PDF format, I need the system to attach a sheet with the General conditions of sale.
I have these conditions in a Word document, or a PDF document.

I know that I can control at the time of printing if the request for the list is in PDF format, Word, Excel, Preview, or Print, with de RenderFormat.Name, but in this case (when Reder.Format is equal to 'PDF'), which is the best way to print this information?

Can I attach a PDF File?, can I copy all the text in the report layout?

Thank you!

Comments

  • ignasijuanignasijuan Member Posts: 21
    Any idea? :idea:
  • clauslclausl Member Posts: 455
    Yes, this is easy, just create a Rectangle after the List in the report and then add all the information that needs to be printed when printing to PDF this Rectangle. Then only show the Rectangle when RenderFormat is PDF.

    You of course need to design your report not using Page Header or Page Footer to do this, since neither the Page Header og Page Footer are dynamic.

    If you require Page Header or Page Footer, actually only used for Page No, then you have to look at some 3rd party Tool to accomplish this.

    /Claus Lundstrøm
    Claus Lundstrøm | MVP | Senior Product Manager | Continia.com
    I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
    I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
  • Rob_HansenRob_Hansen Member Posts: 296
    If you decide to look at a third party solution, we have one that would do the job - http://epimatic.com/products/documentpath. Our product allows additional attachments (like terms and conditions sheets) to be defined (attached to various places...a document, a message template, etc.). The product embeds the additional attachment (if it is a PDF) into the main document PDF (one consolidated file). There is a way to configure this so that it would only be included when a document is being emailed or faxed (i.e. PDF) and not when printing a hardcopy.
  • clauslclausl Member Posts: 455
    Hi Rob, cool product :-)

    Can you also merge the PDF files so the Terms & Conditions PDF is merged into report.pdf so only 1 file is sent to the Customer?

    /Claus Lundstrøm
    Claus Lundstrøm | MVP | Senior Product Manager | Continia.com
    I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
    I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
  • Rob_HansenRob_Hansen Member Posts: 296
    Hey Claus - Yes, DocumentPath does that. It's an option though - when specifying an additional attachment to include (existing PDF) it will be merged into the document PDF by default (so just one PDF to send) but there is a flag to force it to be attached as a separate file if needed.
Sign In or Register to comment.