web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Amount field calculation in Vendor Ledger Entry

(0) ShareShare
ReportReport
Posted on by 2,390

Amount and Amount(LCY) field formula is changed from 2009 to 2016 in the table Vendor ledger entry. A new field(Ledger Entry Amount) is introduced in "Detailed Vendor Ledger Entry" Table . I have upgraded database from 2009 to 2016 but value to Amount and Amount(LCY) is not updated because "Ledger Entry Amount" is false for all the values. Due to which data is reports not matching .How can I solve it .

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Amol Salvi Profile Picture
    18,698 on at

    How data is upgraded from NAV 2009 to NAV 2016 ??

    Is it by opening balance or using upgrade data utility ?

  • NavTech Profile Picture
    2,390 on at

    Using upgrade data utility ,Provided by Microsoft

  • Suggested answer
    Mohana Yadav Profile Picture
    61,005 Super User 2025 Season 2 on at

    Did you run 2nd step of upgrade toolkit? i mean data upgradE?

    if yes then there are 2 functions in the upgrade codeunit like

    UpdateDtldCustLedgEntry and UpdateDtldVendLedgEntry which will update the field Ledger Entry Amount to show you the correct result.

  • NavTech Profile Picture
    2,390 on at

    Yes I run data upgrade otherwise vendor ledger entry would be blank . Is there a way I can run these two function separately . Will it fix the issue.

  • Suggested answer
    Mohana Yadav Profile Picture
    61,005 Super User 2025 Season 2 on at

    no, they wont be blank if you dont run the 2nd step.

    did you directly upgrade from 2009 to 2016 or did you use 2009 to 2015 and then from 2015 to 2016?

    you can create a codeunit and add the code from those above functions and run again.

  • NavTech Profile Picture
    2,390 on at

    I upgraded into 2015 and then 2016.

  • Verified answer
    Mohana Yadav Profile Picture
    61,005 Super User 2025 Season 2 on at

    not sure where it went wrong but you can create a codeunit and add the code from those above functions and run the codeunit.

  • Verified answer
    Rajasekhar@MS Profile Picture
    5,569 on at

    Hi

    You can update Ledger Entry Amount field using the Entry Type Field like below and check

    "Ledger Entry Amount" := NOT (("Entry Type" = "Entry Type"::Application) OR ("Entry Type" = "Entry Type"::"Appln. Rounding"));

  • NavTech Profile Picture
    2,390 on at

    Thanks alot mohana . It has fixed the issue . now data is matching in reports.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans