How to record in case of gain from disposal of fixed assets?

I do not understand what you are saying. If you dispose a fixed asset, both its current total purchase cost and accumulated depreciation are removed from the Fixed Assets Summary. In other words, book value is removed. The process does not involve any depreciation expense account, only balance sheet accounts.