Print out report

vijayanderson
Member Posts: 207
Hey Friends
My Client requirement is such that when printing the Sales Invoice,they need five copy,but in each copy they need a different name (print copy name) in the printed report by single click.
Example :-
1.original
2.Duplicate
3.Triplicate
4.Quadrapliate and
5.Transporters copy
There is any option in Navision,if no, is there any solution for it.
Thank you
regards,
Vijayan.R.V
My Client requirement is such that when printing the Sales Invoice,they need five copy,but in each copy they need a different name (print copy name) in the printed report by single click.
Example :-
1.original
2.Duplicate
3.Triplicate
4.Quadrapliate and
5.Transporters copy
There is any option in Navision,if no, is there any solution for it.
Thank you
regards,
Vijayan.R.V
0
Answers
-
Do you know how the standard navision handle this :?:
Take a look, for example, in Report 204 -> CopyLoop - OnAfterGetRecord()
Here you can see following:... IF Number > 1 THEN CopyText := Text003; ...
So, if you have x copys, and for every copy must the CopyText have other Words, than you can here change this .....
RegardsDo you make it right, it works too!0 -
Message deleted.
Regards,
Cor0 -
yes but don't ferget to fix no. of copies if you forget it then it will refer "invoice copies" field form customer card or you can default set this field as 5.Experience Makes Man Perfect....
Rajesh Patel0 -
If yes can you say to to go about it.. can you send the code if there is any customization. it would be of great help.0
-
hi vijayanderson,
there is nothing do with inbuit report just u have to set the variable NoofCopies to copies you want to print - 1 in your case put 4. and add following code in onaftergetrecord of copyloop
IF Number = 1 THEN
CopyText :='original';
if number = 2 then
CopyText :='Duplicate';
etc...
hope it helps you.Experience Makes Man Perfect....
Rajesh Patel0 -
Do you not read my post above :?:Do you make it right, it works too!0
-
hi garak,
you are right i have seen that and understand it very well that u have given correct answer.
even though he is asking for what what he want to do ?Experience Makes Man Perfect....
Rajesh Patel0 -
what he should do is: read the posts and than activate the brain ;-)Do you make it right, it works too!0
-
ya i am agree with you.Experience Makes Man Perfect....
Rajesh Patel0 -
garak wrote:Do you know how the standard navision handle this :?:
Take a look, for example, in Report 204 -> CopyLoop - OnAfterGetRecord()
Here you can see following:... IF Number > 1 THEN CopyText := Text003; ...
So, if you have x copys, and for every copy must the CopyText have other Words, than you can here change this .....
Thanks Garak for the tip. Even though I didn't need to use it before, but it's good to know some things that can easily be done by default.
I think this is a good tip (especially for beginners).Tomas,
Dynamics NAV Enthusiast0 -
Hey Thanks for your reply.. It solved my problem.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