Report per E-Mail
hatschi
Member Posts: 2
Hi,
is it possible to set a e-mail-adress in the report, so you haven't to input it manually in outlook ?
Hatschi
is it possible to set a e-mail-adress in the report, so you haven't to input it manually in outlook ?
Hatschi
0
Comments
-
No, but you can create e-mails from within Navision and attach a report that you saved as HTML or pdf.
You have to program this."Real programmers don't comment their code.
If it was hard to write, it should be hard to understand."0 -
I am quite interested on how I can save a report as html and send it via email (probably via the mail-codeunit). HTML works as a charm, but I just don't find any decent solution for saving to pdf and send it (in one process). Can you help me with this?0
-
sure!
But keep in mind that a Navision report saved as HTML can have a messed up lay-out. If this is the case save it as pdf. Don't know how to do that, but I saw a download in the download section which should be the solution.
But now, how to save a report as HTML.Order.SETTABLEVIEW(SalesHeader); Order.SAVEASHTML(Filename); Mail.NewMessage('eromein@home.nl','','Test E-mail','Hereby your order conformation...',Filename,TRUE);
Order = report 205
Be sure to make a uniq Filename (report name + date + time)
Mail = cudeunit mail
Be sure to change the e-mail address to the one of the customer.
Good luck"Real programmers don't comment their code.
If it was hard to write, it should be hard to understand."0 -
-
sry, I didn't read you post that well.
There is a download on mibuso, that claims to export a document from Navision code as pdf. Maybe you should download it and see what is does. I haven't checked it out yet. It could be a solution to your problem / answer to your question."Real programmers don't comment their code.
If it was hard to write, it should be hard to understand."0 -
Do a search on this forum for 'pdf', and you'll find some threads about this subject.
eg.
http://www.mibuso.com/forum/viewtopic.php?t=1415
http://www.mibuso.com/forum/viewtopic.php?t=1380
http://www.mibuso.com/forum/viewtopic.php?t=588No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

