How i can change the name of Pdf file generate with NAV 2016

Anis14
Member Posts: 2
The default file name does not match anything in NAV:

i want custom name for the pdf:


i want custom name for the pdf:

0
Answers
-
If u don't need Request Page u can use this:
Filename := 'C:\MyReports\'+Customer.No;
ReturnValue := Report206.SAVEASPDF(Filename);
Or u can try edit name in RDLC.0 -
Yep it comes as a Parameter name while saving. You can write there whatever you want.Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
The default file name does not match anything in NAV
Hello @Anis14
Report50004 means that you're printing report with ID = 50004. You get this as default name when you print your report without preview mode.
CA00003 as you might notice, is the document number. You get this as default name if you click preview and then print.
Now you know that "the default file name does match something in NAV"
P.S: previous answers are relevant if the default file name does not, still, suit your requirement.
0 -
How can i Force a filename (i'm using page request). ?
I print a quote. I design a quotes report with caption "Devis" for example. And it is this name for Devis.pdf
I would have liked to have the DocumentType+No.pdf for example. how can i do this in my report ? in layout or Object Designer ?
Thank you0
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