Report- Printing report and attached Documents at same time

carlacund
Member Posts: 5
Hi
Could someone please help me?
I am trying to get a Purchase Order report to print the report and any documents that are attached to the header of the order at the same time. These documents could be any application.
I just really dont know where to start ](*,) hope someone can help!
thanks in advance
ps: using version 4
Carla
Could someone please help me?

I am trying to get a Purchase Order report to print the report and any documents that are attached to the header of the order at the same time. These documents could be any application.
I just really dont know where to start ](*,) hope someone can help!
thanks in advance
ps: using version 4
Carla
0
Comments
-
"Any documents that are attached to the header".
What kind of documents? Other orders? Documents in other tables?Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hi,
I've got the same problem. I need to print a picture(located on the drive) attached to my release prod. order header with the link button.
If someone has an idea on how start that0 -
Apologies if i wasnt clear - any documents I mean that are located on the computer/ network - ie. c:\word.doc / excel \ pdf's etc. These documents are saved in the header in a Documents Link.
hope you can help0 -
I needed to print the Terms & Conditions for sales and purchase. This is how I did it.
Table - "Terms & Conditions"
Enabled Field No. Field Name Data Type Length
Yes 1 Code Code 10
Yes 2 File Name Text 100
Yes 3 Location Text 100
Added fields in the G/L Setup for each type (we use 3)
Code File Name Location
P1 CP ancillary order.pdf \\Server1\Company\Finance\NAV400\Documents
P2 CP controlled order.pdf \\Server1\Company\Finance\NAV400\Documents
S1 Sales Terms & Conditions.pdf c:\temp
From the Sales Invoice
///!PrintTerms() #called depending on preview etc
GLSetup.GET();
RepType := GLSetup."Sales Terms & Cond. Code";
Terms.SETCURRENTKEY(Code);
Terms.SETRANGE(Code,RepType);
TermsReport.SETTABLEVIEW(Terms);
TermsReport.RUNMODAL;
The terms report then runs:
filename := Location + '\' + "File Name";
UserSetup.GET(USERID);
SHELL(UserSetup."Adobe Acrobat Path",STRSUBSTNO('/t "%1"',filename));
Note the Acrobat path is set up in the User Setup table as the site has a mixture of versions. This is not perfect but works fine for this situation.Experience is what you get when you hoped to get money0
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