Hi NAV experts,
I have a query regarding GETLASTERRORTEXT
The scenario is like..
1)There is a process only report which creates lines in General Journal and posts it line by line using CU(13)_Gen. Jnl.-Post Batch.
2)While automated posting if there is a error on a particular Line on Gen journal, the process stops due to error and user needs to resolve the error first and start the process again, the requirement is such that the lines containing error(s), should be skipped (should not stop the posting of rest of the lines).
Any ideas please..
0
Comments
I think that if you check the returnvalue of the codeunit the report will not terminate.
If you don't want to handle any errors you can just do:
IF cuGenJnlPostBatch.RUN() THEN ;