I think the report ‘Delete Invoiced Sales Orders’ does not delete any invoiced SO. I think because of the lines
IF ((SalesOrderLine.“Qty. Assigned” = SalesOrderLine.“Quantity Invoiced”) OR
(SalesOrderLine.Type <> SalesOrderLine.Type::“Zu-/Abschlag (Artikel)”)) AND
(SalesOrderLine.“Qty. Assigned” <> 0)
I have delivered and then invoiced an order, but cannot delete it. The last condition combined with AND and the brackets seems to be wrong.
I have the conditions after posting in the order:
(Qty. Assigned (0) = Quantity Invoiced (2) or true) AND Qty. Assigned(0).
Has anyone made the same experience?