Checking if an object is in the current license (2015)

EvREvR Member Posts: 178
Hi all,

Is it possible to check if an object is present in the current license?
Something like this:

Why? Because I want invoke addon codeunits in the OnDatabase functions in codeunit 1 but I don't want the whole system to throw exceptions everywhere if the codeunits are not in the license yet.

In NAV 9 I would simply use event subscriptions, which would activate if the codeunit is in the license. But this is for NAV 8.

Gr, Erik

Best Answer


  • Options
    EvREvR Member Posts: 178
    Awesome, thanks a lot!
Sign In or Register to comment.