Hi All,
I am facing a technical problem. This problem is related to code unit 80 Sales-Post.
I am integrating my code to this code unit. Now I want to perform some function if the code unit returns any error at the end.
I want to perform some error trapping after this line of Code unit 80 "Sales-Post"
IF NOT InvtPickPutaway THEN
COMMIT;
My problem is when Navision encounters any error at this level it is throwing G/L inconsistancy at the above COMMIT level and terminate the application. That's why I am not able to trap the event and show my error message afterwards.
I hope I am able to explain my problem.
Please help.
Arindam
0
Comments
It's like any other error that you would get before your own error. You'll get the first error that occurs.
So. Put your code before the commit,
Also find out why you are getting the consistency.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n