I want to exclude the Sales Order completely based on the InventoryItem I select in report parameter for Sales Order Summary report (Screen ID - SO610500). Meaning, if I select a particular InventoryItem in the parameter, the report should not include the entire Sales Order where I have the selected InventoryItem as one of the line item.
I have tried Additional Filter by adding SOLine.InventoryID, Does Not Contain condition but that seems to work when I have only 1 line item for the order which needs to be excluded but if there are more line items then it is not working.
I have also tried adding new additional parameter to exclude the select InventoryID but that also does the same.
Can anyone please suggest any better way to achiev this goal.
Sales Order 1 (Example) - Contains only 1 line item which I want to exclude from report.
Sales Order 2 (Example) - Contains 2 line items out of which 1 item I want to exclude from the report.
Sales Order Summary Report - Additional filter condition I have added
Sales Order Summary Report - The report itself, which do not list the first sales order but has second sales order.