Blog Post List
  • CODEUNIT.RUN - Conclusion

    Contrary to the other run-able CSIDE objects - i.e. Page, Report and XMLport - we can run a Codeunit and catch the result from this execution: TRUE or FALSE Syntax : [Ok :=] Codeunit.RUN(Number[, Record]) So if we call CODEUNIT.RUN and request a return value, as illustrated by the two first examples in this series - CODEUNIT.RUN #1 and CODEUNIT.RUN #2 -, this means that basically any runtime error emerging in the execution of the codeunit (as defined by the Number ) will be…
    • 2012-12-9