As a general rule, any difference between the sales proceeds and book value is recognized as a gain or loss when the asset is sold.
The sum of the book's value and sales proceeds is recognized as gain or loss.