Skip to main content
Microsoft Dynamics NAV forum
Answered

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.

editSubscribe (0) ShareShare
ReportReport
Posted on by 225

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)

  • KaryaNavTech Profile Picture
    KaryaNavTech 225 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
    TeddyH Profile Picture
    TeddyH 12,720 Super User 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
    Suresh Kulla 43,636 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, 

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,068 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,591 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans