Topic: Report duplicating items in detail section Posted: 22 Sep 2011 at 4:47pm
I have an invoice and order confirmation in Crystal which is duplicating some of the items on the order but only sometimes. When the same invoice is reprinted then there is no duplication.
Say I have item 1000 with 1 qty on it and when the replication happens I have the same items twice. When I reprint the invoice I only see it once.
The application is Sage BusinessVision with Crystal run-time engine version 10. The database is Pervasive SQL version 10
There is a long history behind this issue going back to 2007. The issue started to appear sometime in 2007 and was reported by some customers. BusinessVision QA at the time and later on attempted to replicate the issue but so far to this day no one has ever be able to replicate this. I have attempted to replicate the issue for countless hours with no success.
I'm not sure why but someone from QA discovered that by adding the following formula to the report for suppression in the detail section the problem went away.
previous({SALES_HISTORY_DETAIL.NUMBER}) = {SALES_HISTORY_DETAIL.NUMBER}
and previous({SALES_HISTORY_DETAIL.RECNO}) = {SALES_HISTORY_DETAIL.RECNO}
Now the problem is that as soon as I start customizing the report the problem comes back. In my case I have a custom report for one of my customers where I'm grouping the items on an invoice. Sage is telling me that they can't help me because of the customization I have.
I've been insisting with the Sage QA team to get the issue resolve but they claim that it is a Crystal bug but are not sure because no one has ever been able to replicate it.
Has someone else ever come across this? I have uploaded my custom report and also the standard report if anyone is interested to look at them.
www.iversa.ca/files/Invoice_Plain_Paper.rpt
www.iversa.ca/files/Invoice.rpt
Joined: 11 Mar 2011
Location: United States
Online Status: Offline
Posts: 251
Posted: 22 Sep 2011 at 8:10pm
If it's caused by your links then place the formula {Table.IDField} = previous({Table.IDField}) where the fields are the same, but separate tables, into the Section Expert "Suppress(No-drilldown)" x-2 but don't check the box.
Alternate is to Format the field and check the box "Suppress If Duplicated"
Joined: 11 Mar 2011
Location: United States
Online Status: Offline
Posts: 251
Posted: 23 Sep 2011 at 5:31pm
Right click on the field and choose "Format Field" then check the box "Suppress if duplicated"
If it's caused by your links then open the "Select Expert" and look for the "Suppress(No-drilldown)" and click on the X-2 to place the formula {Table.IDField} = previous({Table.IDField}) replacing the Table with your table name and the IDField with the field name but don't check the box for "Suppress(No-drilldown)". It will run without it.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum