king1980
7th March 2010, 13:27
Hi ,
I have customized the Purchase Order Report.
Now while printing the report i am facing issue if same item repeated in the order the report is skipping the record.
eg:
1 ABC 10 100 1000
2 ABC 20 100 2000
3 XYZ 5 100 500
OUTPUT REPORT
1 ABC 10 100 1000
3 XYZ 5 100 500
second line in the report is not printed.
In the script i have not given any condition for skip ,also i have checked in debugging mode also the values are coming correctly but in report printing it's skipping ,
Please help me to resolve this issue.
Regards
king1980
bdittmar
7th March 2010, 14:32
Hi ,
I have customized the Purchase Order Report.
Now while printing the report i am facing issue if same item repeated in the order the report is skipping the record.
eg:
1 ABC 10 100 1000
2 ABC 20 100 2000
3 XYZ 5 100 500
OUTPUT REPORT
1 ABC 10 100 1000
3 XYZ 5 100 500
second line in the report is not printed.
In the script i have not given any condition for skip ,also i have checked in debugging mode also the values are coming correctly but in report printing it's skipping ,
Please help me to resolve this issue.
Regards
king1980
Hello,
print to standard report and to customized.
Is there same behavior?
Check difference between standard and customization.
Is it while printing 2nd time? Check if all positions or only not printed positions in session is enabled.
a.s.o.
Give more information about report layout, print conditions a.s.o.
Regards
king1980
8th March 2010, 09:05
Hi bdittmar,
In std report it's printing all the items only problem with customize report.
If the Item is repeated continuously then only it's skipping while printing but if item is repeated odd sequence then it's printing all lines.
Also i have done the program script debug ,in this its sending all lines to RptSend().
In Report Layout also i have given print condition as 1 .
Please find the attachment of my layout print condition.
Regards
king1980
mark_h
8th March 2010, 16:15
Not sure which layout is printing these fields, but make sure suppress indentical values is not checked on the fields. Assuming that option is still available on LN - been wrong before on that.
manish_patel
8th March 2010, 17:51
It displays only one record for Order and Item combination; as you have not used detail layout (from attachment!!!).
In Report Layout also i have given print condition as 1 .
which layout?
king1980
9th March 2010, 06:45
Dear Mark,
I am printing the order lines in the before field of tdpur401.item.
Also i have also verified the suppress identical values is not selected.
But My report is printing the correct result if Items is repeated in odd sequence.
e.g: 1 ABC 10 10000
2 XYZ 20 12000
3 ABC 30 5000
In this situation i am getting all three lines in the report
But if Items repeated in following manner in any position then it's printing only first position of that item.
e.g: 1 ABC 10 10000
2 ABC 20 12000
3 XYZ 30 5000
OTPUT
1 ABC 10 10000
3 XYZ 30 5000
Regards
king1980
king1980
9th March 2010, 07:34
Hi All,
I have resolved the issue.
I have changed the layout of before.field.item to before.field.pono
and it's working fine.
Thanks
king1980