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

  • NavTech Profile Picture
    2,390 on at
    RE: Amount field calculation in Vendor Ledger Entry

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

  • Verified answer
    Rajasekhar@MS Profile Picture
    5,569 on at
    RE: Amount field calculation in Vendor Ledger Entry

    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"));

  • Verified answer
    Mohana Yadav Profile Picture
    60,228 Super User 2025 Season 1 on at
    RE: Amount field calculation in Vendor Ledger Entry

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

  • NavTech Profile Picture
    2,390 on at
    RE: Amount field calculation in Vendor Ledger Entry

    I upgraded into 2015 and then 2016.

  • Suggested answer
    Mohana Yadav Profile Picture
    60,228 Super User 2025 Season 1 on at
    RE: Amount field calculation in Vendor Ledger Entry

    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
    RE: Amount field calculation in Vendor Ledger Entry

    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
    60,228 Super User 2025 Season 1 on at
    RE: Amount field calculation in Vendor Ledger Entry

    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
    RE: Amount field calculation in Vendor Ledger Entry

    Using upgrade data utility ,Provided by Microsoft

  • Suggested answer
    Amol Salvi Profile Picture
    18,696 on at
    RE: Amount field calculation in Vendor Ledger Entry

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

    Is it by opening balance or using upgrade data utility ?

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans