Support Article
Export to Excel occurs without Distinct clause
SA-31769
Summary
Activity pzRDExportWrapper does not consider Remove duplicate rows option. The activity does not have a step to include the "getdistinctrows" property on the Report Definition (RD) rule form.
Error Messages
Not applicable
Steps to Reproduce
1.Create a report definition with a join to another table (one to many relationship) and tick "Remove duplicate rows".
2.Run this report via activity and check results.
3.Call Export to Excel OOTB activity and check results.
Root Cause
Export to Excel generates SQL query without DISTINCT clause when using ‘pzRDExportWrapper’ activity.
The records retrieved by the report definition and presented to the user in Workbasket view are different from the records exported to Excel.
Resolution
Apply HFix-31109.
Published January 2, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.