Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
35%
Installation Wizard into new VRC
42%
Manual into existing VRC
3%
Manual into new VRC
19%
Total votes: 31

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 7th March 2010, 12:27
king1980 king1980 is offline
Member
 
Join Date: Jan 2010
Posts: 74
king1980 is on a distinguished road
Baan: LN 6.1 - DB: SQL 2005 - OS: Windows 2003
Lightbulb Report Printing Issue
Baan: Other/Unknown
C/S: None/Unknown

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
Reply With Quote
  #2  
Old 7th March 2010, 13:32
bdittmar's Avatar
bdittmar bdittmar is offline
Guru
 
Join Date: Apr 2002
Location: Germany, 50.584097,8.544078
Posts: 1,639
bdittmar will become famous soon enough
Baan: 2.2/3.1/4c4/LN6.1 FP6/FP9/HiDox - DB: tbase, ms-sql7, oracle10gV1, 11g - OS: HP-UX, W2K3, SLES
More info, please.

Quote:
Originally Posted by king1980 View Post
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
__________________
//Bernd
Reply With Quote
  #3  
Old 8th March 2010, 08:05
king1980 king1980 is offline
Member
 
Join Date: Jan 2010
Posts: 74
king1980 is on a distinguished road
Baan: LN 6.1 - DB: SQL 2005 - OS: Windows 2003
Lightbulb

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
Attached Files
File Type: doc layout.doc (61.0 KB, 27 views)
Reply With Quote
  #4  
Old 8th March 2010, 15:15
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 6,905
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
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.
__________________
Mark

GO Cards!
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.

Shared Solutions for Baan systems provided free by Baan Board.
Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote
  #5  
Old 8th March 2010, 16:51
manish_patel's Avatar
manish_patel manish_patel is offline
Senior Member
 
Join Date: Apr 2007
Location: Surat-->Bangalore, INDIA
Posts: 183
manish_patel is on a distinguished road
Baan: Baan IVc4, Baan 5.0 b - DB: Oracle 11g R2 - OS: HP-UX 11.31
It displays only one record for Order and Item combination; as you have not used detail layout (from attachment!!!).

Quote:
Originally Posted by king1980 View Post
In Report Layout also i have given print condition as 1 .
which layout?
__________________
Thanks & Regards,
Manish
Reply With Quote
  #6  
Old 9th March 2010, 05:45
king1980 king1980 is offline
Member
 
Join Date: Jan 2010
Posts: 74
king1980 is on a distinguished road
Baan: LN 6.1 - DB: SQL 2005 - OS: Windows 2003
Lightbulb

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
Reply With Quote
Sponsored Links
  #7  
Old 9th March 2010, 06:34
king1980 king1980 is offline
Member
 
Join Date: Jan 2010
Posts: 74
king1980 is on a distinguished road
Baan: LN 6.1 - DB: SQL 2005 - OS: Windows 2003
Thumbs up

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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Report Printing Issue in LN rajesh_bamane Tools Development 4 5th July 2008 08:52
Printing report with multiple copies teddybear Tools Development 11 20th November 2007 10:28
Printing report twice Neal Matthews Tools Development 6 17th February 2005 17:53
solving recursion problems rmarles Tools Development 2 25th January 2005 21:23


All times are GMT +2. The time now is 08:14.


©2001-2017 - Baanboard.com - Baanforums.com