When you run depreciation in Fixed Assets in Microsoft Dynamics GP, the depreciation of all assets or a single asset is not completed. Additionally, a "Return Code 2" error occurs.
This issue may occur if the Fixed Assets Calendar is damaged or if there are missing days.
To resolve this issue, build and then replace the Fixed Assets Calendar. For more information about how to do this, click the following article number to view the article in the Microsoft Knowledge Base:
874133 How to rebuild the Fixed Assets calendar in Microsoft Dynamics GP