Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

How to know codeunit 80 completed posting

$
0
0
Hi everyone,

Is there a way to detect (by the code) that codeunit 80 did not complete successfully?
Of course, I'll get an error message when the order/invoice is not posted, but I want to be able to detect by code that the codeunit stopped because I have a block of code to execute in case of unsuccessful posting...

I thought of using IF SalesPost.RUN THEN but in this case it will run in a batch mode, I am not able to get error messages anymore...
Any ideas?
Thanks in advance :smile:

Viewing all articles
Browse latest Browse all 10032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>