Only lines with Invoiced != 0 is included when transferring invoices.
Release of com object for InvoiceManager.
Fix: if one orderline fails the whole order is canceled.