Steve's procedure is correct.

However, you should try and determine why the line item was posted to an unexpected account-department, otherwise you will be doing this every time that item is sold.
_________________________
Andrew Bates