Skip to main content

Notifications

Announcements

No record found.

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.

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,861 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
    Suresh Kulla 43,640 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans