OnMissingLicense Property

Specifies what happens to the event subscriber function call when the license of the Microsoft Dynamics NAV user account that is running the current session does not include the codeunit that contains the subscriber function.

Applies to

  • C/AL functions in codeunits.

    This property is only available when the Event Property is set to Subscriber.

Property Value

Value Description

Error

An error is thrown and the code execution stops. This is the default value.

Skip

The subscriber call will be ignored, and execution will continue to the next subscriber.

Remarks

For more information about events, see Events in Microsoft Dynamics NAV.

See Also

Concepts

Publishing Events
Raising Events
Subscribing to Events
C/AL Function Statements