Hello community,
I'm developing an SSRS report for retrieving sales transactions (Sales - Customer order) and I encountered an issue with modified orders resulting in a duplicated lines.
I'm retrieving the data from (RetailTransactionTable) and (RetailTransactionSalesLines).
For customer order transactions, the customer order net amount is duplicated and that is because changes done to the order in the PoS (for example: Changing the sales man or changing an item).
Currently i'm using a range condition in my query which is:
RetailTransactionTable.paymentAmount != 0
as a temporary solution, but I believe it will not age will...
What can I do or is there a field I can use to distinguish this kind of duplication?
Thanks in advance