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,
navuser1
Now or Never
0
Answers
If you call codeunit 22 to post a line, on the OnBeforePost event of codeunit 22 for the same line, then: