report in PDF per document No.

pavan
Member Posts: 11
Hello Experts,
I tried to search this topic but couldn't find similar issue & solution so writing this.
my requirement is to generate multiple PDF file (1 file per document no.) from a report (lets say Purchase order) by giving range (e.g. PO/14/0001..PO/14/0100). Currently i can print all 100 POs in single PDF file but i need 100 different PDF files.
Any trick on how can i do this?
I tried to search this topic but couldn't find similar issue & solution so writing this.
my requirement is to generate multiple PDF file (1 file per document no.) from a report (lets say Purchase order) by giving range (e.g. PO/14/0001..PO/14/0100). Currently i can print all 100 POs in single PDF file but i need 100 different PDF files.
Any trick on how can i do this?
0
Answers
-
You could create a codeunit that prints the reports you want in a repeat-until construction.
But I guess what you're looking for is a property or a function CreateNewPdf in a report on a dataitem, which I can't find..
Tino Ruijs
Microsoft Dynamics NAV specialist0 -
I am not looking for a property or function. i would like to develop the solution myself.
I think the Repeat..Untill loop in a codeunit should work. But how to do it in such a way that i can use if for all reports?0 -
You probably won't need this for all reports.
So I would just create seperate functions in 1 codeunit per report.
And create a boolean on each report which lets users choose to execute the batch-printing of that report for the filters they put in.
Tino Ruijs
Microsoft Dynamics NAV specialist0 -
Awesome... thanks tinoruijs0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions