What to print several invoices via report as pdf

bastir
Member Posts: 27
Hi,
I've found a nice , free tool being able to create pdf files via control characters (http://www.nbsi.de/phpBB2/)
I wanted to print our invoice from the last year with this tool, but unfortunatly Navision is building only one printer job.
The characters are even recognized by the tool, but it is not able to split the Navision Job in each document file.
Do you know a possibility to say Navision that you want to print invoice (etc.) from the last year and Navision is printing them one after the other, allways in a new printjob?
I'm looking forward hearing from you.
Thanks
Sebastian
I've found a nice , free tool being able to create pdf files via control characters (http://www.nbsi.de/phpBB2/)
I wanted to print our invoice from the last year with this tool, but unfortunatly Navision is building only one printer job.
The characters are even recognized by the tool, but it is not able to split the Navision Job in each document file.
Do you know a possibility to say Navision that you want to print invoice (etc.) from the last year and Navision is printing them one after the other, allways in a new printjob?
I'm looking forward hearing from you.
Thanks
Sebastian
0
Comments
-
You have to create a new report that calls the real print report once for each invoice.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Look in my signature. We are using eDocprinter. In this you can break the jobs, but it's not free...0
-
kriki wrote:You have to create a new report that calls the real print report once for each invoice.
Thanks for this hint.
I understand a little bit of CAL but don't know how to call a report from another one. Can you maybe give me some example code?
This would be very helpfull.
Thanks a lot.
Sebastian0 -
This code you put in the OnAfterGetRecord
recMyRecord.RESET; recMyRecord.SETCURRENTKEY(...); recMyRecord.SETRANGE("Primary Key Field1","Primary Key Field1"); recMyRecord.SETRANGE("Primary Key Field2","Primary Key Field2"); ... REPORT.RUNMODAL(REPORT:"My Report",FALSE,TRUE,recMyRecord); // this runs the second report for each record to be printed // the 3rd parameter, you can also put to FALSE to use the printer in the printer selection table
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0
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