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)

G/L entry and sales line.

(0) ShareShare
ReportReport
Posted on by 475

Hi guys ,

  When i posted a sales and purchase order I see that G/L entry table gets automatically update.I would like to know the link and also I want to insert a new field in G/L entry table and i want that table to update when post a new sales order or purchase order or Invoices.

With Regards,

Bharath.K

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    61,005 Super User 2025 Season 2 on at

    check codeunits 80,90 and 12

  • Suggested answer
    RobertasR Profile Picture
    5,004 on at

    Hi, Bharath

    posting to the GL is managed by Posting Groups. As Mohana suggested, you can check the Codeunits but I'd encourage to understand whether the new 'posting' routine cannot be achieved changing Posting group setup rather than modifying the most sensitive codeunits.

    Robertas

  • bharathkarunakaran Profile Picture
    475 on at

    thanks mohana and robertas,

    Now I would like to create a new field in G/L entry table and when i post a sales order it must get automatically update can you just guide me on how to do this .

    With regards,

    bharath

  • bharathkarunakaran Profile Picture
    475 on at

    can you suggest me any other easier ways for better understanding

  • RobertasR Profile Picture
    5,004 on at

    Hi,

    sorry I don't think we can help you more, as changing the code (especially posting codeunits) is a very delicate task. Without knowing what exact changes are needed, what other changes are made, etc. it is almost impossible to point to the actual place where you need to make a change.

    Robertas

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

    and also we have shown you the place it should be modified. dont expect code from forums. Please try yourself and let us know what is not working.

  • bharathkarunakaran Profile Picture
    475 on at

    I am not trying for the code I just looking for the table which is related to the G/L entry .

    I just found there is not direct link between G/L entry and sales line and we have to get it from the posted documents .

  • bharathkarunakaran Profile Picture
    475 on at

    I want to create a new field in sales order and transfer it to g/l entry can i know what  tables i need to modify  and where make the changes.

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