Hello everyone,
I’m facing an issue with the Sales Order (LA) report/form where some line items are unexpectedly shown twice, even though the underlying data looks correct. I suspect the problem is related to how the SOLine and SOTax tables are joined or how the data is grouped in the report.
I’ve tried adjusting the joins (like using a LEFT JOIN between SOLine and SOTax) and filtering tax records, but so far without success. Removing the SOTax join causes errors or missing data in the report.
My goal is to display each line item only once, while still showing the correct tax information, so that invoices and shipment documents don’t have duplicate lines.

If anyone has any ideas or could help me troubleshoot and resolve this, I would really appreciate it!
Thanks so much!
Pantea