Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Issue during upgrade Italy localisation

Posted on by 2,382

I got error "Reference to the member Average Cost of the variable  could not be solved." during data upgrade 2009 to 2015. 

I found out that there is function .. in codeunit "Upgrade Nav Old Version" which refer to a filed "Average Cost" of Table "Lifo Band" which is not actually present in the table . There is one similar field "year average cost". Should I change the code in upgrade codeunit. 

*This post is locked for comments

  • NavTech Profile Picture
    NavTech 2,382 on at
    RE: Issue during upgrade Italy localisation

    Thanks Saurav. I commented the code after proper checking .

  • Verified answer
    Saurav.Dhyani Profile Picture
    Saurav.Dhyani 17,965 Super User 2024 Season 2 on at
    RE: Issue during upgrade Italy localisation

    Hi,

    Don't change the Upgrade Codeunit. You can check it like -

    1. Upgrade Codeunit is from 2009 R2 to 2015.

    2. Your database may be 2009 or 2009 SP1.

    3. If you are sure that the field that you are referring are same then you can change.

    4. Otherwise you can comment that line in the upgrade codeunit.

    But before changing anything make sure that you are sure about what you are changing.

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans