Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Fixed Asset Depreciation Errors

Posted on by 1,540

A user is depreciating assets and the following error log printed:

FA_Get_Period_Info 

  Return code 2 on script Calculate_GL_Period. Date 11/1/1995

FA_Determine_Prorated_Amt_and_Depr_Begin_Date.

  Return code 2 on script FA_Get_Period_Info. Date: 11/1/1995

FA_Depreciator

  Return code 2 on script FA_Determine_Prorated_Amt_and_Depr_Begin_Date.

FA_Locate_Books_Not_Fully_Depreciated

  Return code 2 on script FA_Depreciator. Asset Index: 169   Book Index: 1

FA_Depreciate_All_Assets

  Return code 2 on script FA_Locate_Books_Not_Fully_Depreciated

 

Does it matter that we do not have a fiscal period of 1995? We only started in 2000. I am not sure why FA is trying to use this date. 

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Fixed Asset Depreciation Errors

    Hi!

    It happened that I had a problem with FA Calendar. Do you know what are possible reasons for corruption of FA Calendar? Is there any preventive measure that we can take? Any permanent solution other than rebuild FA Calendar?

    Advance thanks for your time.

  • Accounting Department Profile Picture
    Accounting Department 1,540 on at
    Re: Fixed Asset Depreciation Errors

    After rebuilding the FA calendars to include all years, the user was able to run depreciation without error.

  • Accounting Department Profile Picture
    Accounting Department 1,540 on at
    Re: Fixed Asset Depreciation Errors

    I rebuilt the FA calender in our test company to include all years 1901-2199.  They match to our Company fiscal periods except for our first year of using GP which was 2002 and has only ten periods as we started mid-year.

    So all of the FA years prior to that year have ten periods as well, with Period 1 covering 3 months. I don't really care if this will fix the issue. But I'm not going to go back and change our fiscal year from 2002 for the company.

    I will get the user to see if he can depreciate in the Test company.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Fixed Asset Depreciation Errors

    Hi.

    Return Code 2 usually means that the calendar in FA is corrupt in some way. You should backup the company database, and then try and rebuild the FA calendar. To do this - have a look at the following article: support.microsoft.com/.../874133

    Ian.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans