There are a number of ways to correct this:
(1) From the Delivery, do a Returned Goods, and from the Returned Goods, create a Credit note. Then on the order, correct the location, and re-create the Delivery and Invoice. (Make sure the Credit Invoices Update Order quantity" is set in order settings.
(2) Simply transfer stock from the the location that should have been invoiced to the location that was invoiced, using the Stock Movement" register in the Stock Module.
HansaWorld Support Team