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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

how customer ledger entry table amount field is updating

(0) ShareShare
ReportReport
Posted on by

hi experts,

Please tell me how the customer ledger entry table is updating from which table its take data i want to see code for amount filed my field is updating incorrectly please tell me from which table they written code for amount field in customer ledger entry table

Thank you

*This post is locked for comments

I have the same question (0)
  • Hannes Holst Profile Picture
    5,767 on at

    Hi,

    check this tool here: https://www.stati-cal.com/

    It will help you to analyze your code.

  • Suggested answer
    Andrey Baludin Profile Picture
    3,943 on at

    No code.

    It's a flow field which shows you a sum of "Detailed Cust. Ledg. Entry".Amount  which has Customer leger entry No. equals to Entry No.

  • Community Member Profile Picture
    on at

    Hi Andrey

    i have found that i have added new discount on that i need to calculate that value in amount field how can i do this please tell.

    Thank you

  • Suggested answer
    Andrey Baludin Profile Picture
    3,943 on at

    Don't make a mistake!

    Customer ledger entries appear after posting of sales order for example. And you'll get a lot of troubles changing posted values.

    So you can use standard Line discount field in sales lines to change total amount. After Order posting you'll get customer ledger entry with desirable amount without any changes.

  • Community Member Profile Picture
    on at

    Hi andrey,

    Thank you for reply i have create a new discount filed based on discount amount in getting correct invoice amount with my discount amount but that invoice amount not updating in cust ledger table thats  my problem

    thank you

  • Suggested answer
    Yogesh Kulkarni_ Profile Picture
    1,762 on at

    Hello Ashwini,

    As suggested by Andrey, Amount in Cust. Ledg. Entry is flowfield and it calculates the same from Detailed Cust. Ledg. Entry.

    Where do you have custom field for Discount and how you are trying to update Customer Ledger Entry based on your discount? Can you please explain exact requirement?

    Anyways, you can create flowfield in Customer Ledger Entry based on your requirement but it is always advisable to use standard discount functionality within NAV instead of customizing.

     

    -Yogesh Kulkarni
    Please verify, if you find answer helpful.

  • Suggested answer
    Amol Salvi Profile Picture
    18,698 on at

    Are you calculating the new discount amount on Sales Invoice itself.?

    If yes then NAV will take care of posting .Try to do calculation on Sales Invoices itself

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans