Skip to main content

Notifications

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

  • bharathkarunakaran Profile Picture
    475 on at
    RE: G/L entry and sales line.

    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.

  • bharathkarunakaran Profile Picture
    475 on at
    RE: G/L entry and sales line.

    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 .

  • Suggested answer
    Mohana Yadav Profile Picture
    60,232 Super User 2025 Season 1 on at
    RE: G/L entry and sales line.

    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.

  • RobertasR Profile Picture
    5,002 on at
    RE: G/L entry and sales line.

    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

  • bharathkarunakaran Profile Picture
    475 on at
    RE: G/L entry and sales line.

    can you suggest me any other easier ways for better understanding

  • bharathkarunakaran Profile Picture
    475 on at
    RE: G/L entry and sales line.

    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

  • Suggested answer
    RobertasR Profile Picture
    5,002 on at
    RE: G/L entry and sales line.

    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

  • Suggested answer
    Mohana Yadav Profile Picture
    60,232 Super User 2025 Season 1 on at
    RE: G/L entry and sales line.

    check codeunits 80,90 and 12

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 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…

Leaderboard > Microsoft Dynamics NAV (Archived)

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2

#1
mmv Profile Picture

mmv 2

#1
Amol Salvi Profile Picture

Amol Salvi 2

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans