Hi everyone,
I need to make standard report 295 "Combine Shipments" work like standard report 296 "Batch Post Sales Orders", meaning if there is an error, the treatment does not stop and the error mesage is not displayed.
How shall I proceed about that?
Thanks in advance
Comments
May be I didn't explain what I need clearly, but this is what I want, I want the calling process to continue with no error message shown...
How can I perform that?
use IF CODEUNIT.RUN(CODEUNIT::MyCodeunit, Rec) THEN ...
or use IF MyCodeunit,RUN(Rec) THEN ...
And it will work. You might want to use GETLASTERRORTEXT / CLEARLASTERROR commands to be able to store the errormessages you get during the process.