How to change the transaction status from Register to Un-register


User have registered serial number before packing slip. while delete the line System displays error message “Updating has been interrupted because there is an inventory transaction with the status Registered.” So, we have to un-register these items first to delete transaction.
Is any solutions?

If it’s 2009 click Inventory>Registration or if it’s AX2012 click Updateline>registration in Purchase order lines

click the "auto create check box " against the line and “post all” then it reverses the registration.