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,775 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,638 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

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,584 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,864 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans