Hussain,
Go to Inventory - Batch Rename/Merge/Delete. If the stock codes are in a contiguous range, you can use the Batch function. If they are not, create a delimited list of the stock codes to be merged paired with the target stock code in a text file and use the Load List function.