Skip to main content

Notifications

Small and medium business | Business Central, N...
Unanswered

Call Posting routing in Events function

(0) ShareShare
ReportReport
Posted on by 1,112

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

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

    How to do this without modifying the base objects ?

    Kindly reply. 

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

    A recursive could be the reason.

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans