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

Community site session details

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

Call Posting routing in Events function

(0) ShareShare
ReportReport
Posted on by 1,144

Dear Sir,

In NAV 2016, there is an Event function called OnBeforePostItemJnlLine in Codeunit 22 Item Jnl.-Post Line.

I am subscribing the same function in my custom codeunit & call the Codeunit 22 Item Jnl.-Post Line to Post something.
It's working with a message "There is nothing to Post" & it does not clear the Page.

What to do without modifying any base ? Please suggest.

Regards,
Subrata Bauri

I have the same question (0)
  • subrata.bauri Profile Picture
    1,144 on at
    RE: Call Posting routing in Events function

    A recursive could be the reason.

  • subrata.bauri Profile Picture
    1,144 on at
    RE: Call Posting routing in Events function

    How to do this without modifying the base objects ?

    Kindly reply. 

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,915

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,011 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,989 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans