hi everyone...
anybody know how to print twice?
for example i have report Sales order
and i want if print... it would be printed twice
1st with the header Sales Order... and The other one is SO
anything besides that is the same
thanks
I believe this is similar with Order Confirmation report, where:
1. you can set 1 as No. of Copies on Option tab of the request form,
2. and then it will print Order Confirmation - COPY on the >1 pages.
I believe this is SIMILAR with Order Confirmation report
The points are:
1. You can make the No. of Copies initiated and fixed by 1
2. Create the report title as the variable, instead of the label.
3. Print the variable as the value you want, when it is not the first page.
Select Sales order etc Then enter the 2 reports numbers as sequence 1 and 2 and when ever you print of that document type
you will have the two reports print out. ](*,)
Select Sales order etc Then enter the 2 reports numbers as sequence 1 and 2 and when ever you print of that document type
you will have the two reports print out. ](*,)
but i only create 1 report
if sequance 1 --> report 50001
and sequance 2 --> report 50001
it doesn't work
Comments
1. you can set 1 as No. of Copies on Option tab of the request form,
2. and then it will print Order Confirmation - COPY on the >1 pages.
Andwian
with different header....
in order confirmation is the same header , right?
1. You can make the No. of Copies initiated and fixed by 1 2. Create the report title as the variable, instead of the label. 3. Print the variable as the value you want, when it is not the first page.
Andwian
but i haven't find the command for do the print
CopyLoop - OnPreDataItem()
NoOfLoops := ABS(NoOfCopies) + 1;
CopyText := '';
SETRANGE(Number,1,NoOfLoops);
I change
CopyLoop - OnPreDataItem()
CopyText := '';
SETRANGE(Number,1,2);
********************************
CopyLoop - OnAfterGetRecord()
IF Number > 1 THEN
CopyText := Text003;
CurrReport.PAGENO := 1;
I Change
CopyLoop - OnAfterGetRecord()
IF Number > 1 THEN
CopyText := 'Copy';
CurrReport.PAGENO := 1;
Of course you could not find the PRINT code in your C/AL Code. Have a look at Report Section.
Andwian
there is not in report section
but dataitem integer (copyloop)
thanks for your help
If i read correctly you require 2 reports ?
Administration > Application setup > Sales & Marketing > Report selections
Select Sales order etc Then enter the 2 reports numbers as sequence 1 and 2 and when ever you print of that document type
you will have the two reports print out. ](*,)
if sequance 1 --> report 50001
and sequance 2 --> report 50001
it doesn't work
If you really wanted to use this method export the report reimport that copy with a new number EG 50001
Set the the duplicate report as sequence 2 and then you will have 2 reports printed.
Otherwise you will have to add the number of copies functionality to the report
that's all right
i already find the solution using integer
thanks anyway