Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Which place in the codeunit updates the value of (sales line/ purchase line) fields in "G/L Entry" table fields at the time of posting an invoice.

(0) ShareShare
ReportReport
Posted on by 237

Hi experts could you please help me out in this:

Which place in the codeunit/trigger/function update the value of (sales line/ purchase line) field values in G/L Entry table at the time of posting an invoice.

I know codeunit ID, but do not know the exact place where the line values of an order gets updated in g/l entry........Please suggest 

#80Sales-Post ,#81 Sales-Post (Yes/No) 

#90Purch.-Post ,#91 Purch.-Post (Yes/No)

*This post is locked for comments

  • KaryaNavTech Profile Picture
    237 on at
    RE: Which place in the codeunit updates the value of (sales line/ purchase line) fields in "G/L Entry" table fields at the time of posting an invoice.

    Thanks suresh for your reply . I will look across these

  • Verified answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    13,484 Moderator on at
    RE: Which place in the codeunit updates the value of (sales line/ purchase line) fields in "G/L Entry" table fields at the time of posting an invoice.

    It's inside codeunit 80 and 90. If I'm not mistaken, the code is placed in OnRun in NAV 2009.

    Just search GenJnlLine.INIT, you should be able to find it.

  • Verified answer
    Suresh Kulla Profile Picture
    46,926 on at
    RE: Which place in the codeunit updates the value of (sales line/ purchase line) fields in "G/L Entry" table fields at the time of posting an invoice.

    The values are transferred from Gen. Journal Line to G/L entry, so check the functions in table 81, there are several of them starts with CopyFromxxxxxxx, 

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 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,217 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,978 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans