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

Notifications

Announcements

No record found.

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,708 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,066

#2
YUN ZHU Profile Picture

YUN ZHU 658 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 595

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans