How can I inactive an asset, therefore, depreciation will be accounted for that asset.
I don’t understand your question
You cannot inactivate a fixed asset - what do you mean by inactivate?
The depreciation entries are calculated and entered by the user unless you are using the built-in method based on reducing value depreciation
You may be referring to disposing of the asset. There is a Guide about that.