web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Posting from Sales order to GLEntry

(0) ShareShare
ReportReport
Posted on by 90

I have created a new field in sales order and i want to transfer its value when posting to G/L Entry and CLE , I tried to give it the same number, name and type in SO and C/L Entry but it did not work . I did the same with PSI and it worked . I also tried to find any event subscriber in codeunit 80 but i did not find any, Can anyone tell how I could get this value in G/L Entry or the name of the event subscriber 

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Hi muaz deyab ,

    You have to create that field into Gen. Journal Line table and Customer ledger entry table, after then you have to subscribed the Codeunit 12 functions to move your data OnAfterPost event from the Sales Order.

    this is the one of the functions I am pasting here from the CU 12., Its responsible to insert or move data into GL entries table, In the same way we have another function in the same CU, see the below image, to send the data into Customer ledger entry table.

    pastedimage1654069460477v1.png

    pastedimage1654069550333v2.png

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 653 Super User 2026 Season 1

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 414 Most Valuable Professional

#3
YUN ZHU Profile Picture

YUN ZHU 394 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans