Hello everyone, 
I created a purchase order and the warehouse put the wrong quantity on Qty. to Receive. The Purchase Order updated as excepeted but now I cant reverse the lines because the invetory received was alredy used. 
When I try to Undo Receipt I get this error. 

The only suggestion that I have get is to post the Purchase order and then do a corrective credit memo. The problem is that the legistaltion of my country doesent allow to cancel registered purchase invoices. 
Thanks.