So I set up some automated printing for Order Pick Lists. I have a function that checks for any new fulfillments to picking based on the timestamp, then it builds an order list (this is a report parameter), and sends them to print. It works great EXCEPT…
I had users complaining that it would print multiple, identical lines sometimes. They sent me some examples, and I printed both reports, and they looked fine. I had them send me pictures, and sure enough, there were dupe lines, and it looked different than what I was printing.
After messing around with it for way too long, I discovered that A) If I print multiple orders in the same print job:
I confirmed sending the report as CSV, and sure enough, if I send order 350150, it’s fine, single row. If I send order 350257, same thing, looks great. If I send both at the same time, though… dupes:
I’m not sure where to go with this. I’m pretty sure my query in the report itself is good, and the RDD seems to be correct. Any advice? Happy to share any other info that might help.
@jkane@dr_dan Well this is embarrassing. I had added an additional Tablix for some of the PartAlloc rows, and didn’t add a “GroupBy” statement on the details group of the table. Adding Grouping on Bin and OrderNum solved my problem. Thank you both for all the help!