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

I want to get the custom entries through post button on sales invoice to the gl entries

(1) ShareShare
ReportReport
Posted on by 204
I want to get the custom entries through post button on sales invoice to the gl entries and customer ledger entries but couldnot find any codeunit on find entries .
How can I get the custom entries on find entries of posted sales invoice?
I have the same question (0)
  • Mustafa Omerbegović Profile Picture
    1,481 Moderator on at
    Hello Alina,
     
    Any CU related to posting is one of the hardest things to modify in BC because these CU have a lot of code in the background and are connected to other CU that are triggered when posting is started.
    If you really want to modify these CU best way is to find appropriate subscriber in on of these CU , probably (80,81 or 82 CU if it is posting of sales documents, or CU 12 since all CU related to posting needs to go through CU 12) and then subscribe on your CU that will create your custom entries.
     
    Maybe it is better option to create functionality that will trigger automatically or manually after the native posting of document be completed. Then, based on posted entries of that document, you can post additional general journal line with same Document No. and Posting Dates as Posted Sales Invoice.
     
    Greetings
  • Suggested answer
    YUN ZHU Profile Picture
    102,608 Super User 2026 Season 1 on at
    What are the custom entries you mentioned? Are they entries added by customization?
    If so, I suggest you modify the custom function and add a status when inserting custom entries, such as "Custom = Yes", which will facilitate filtering.
     
    Hope this helps.
    Thanks.
    ZHU
  • Alina Fahim Ibrahim Profile Picture
    204 on at
    I want to add some tax entries from sales line to gl ledger entries through sales invoice post button and I also used cu 80 but didnot get the entries in gl ledger entries.
     

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 580 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 480 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 261 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans